Contrast Checker

Check any two colors against WCAG 2.2 AA/AAA contrast ratios instantly. Free, no sign-up — sample from an image, and nothing ever leaves your device.

  • 100% free
  • No sign-up
  • Runs on your device

The quick brown fox jumps over the lazy dog

Large text sample

Contrast ratio

6.29:1

Desaturates the preview so you can check the pair still reads without relying on color alone (WCAG SC 1.4.1).

Normal text

AAPass
AAAFail

Large text (18pt/24px, or 14pt/18.66px bold)

AAPass
AAAPass

Graphical objects & UI components (3:1)

AAPass

Text color

Background color

Picking a color from your screen isn't supported in this browser — try a recent version of Chrome, Edge, or Opera, or enter the hex value instead.

Sample a color from an image

Drop an image, click to browse, or paste one straight from your clipboard with Ctrl+V (Cmd+V on Mac), then click a pixel to sample its color — entirely in your browser.

Check against a gradient or image background

See the worst-case contrast anywhere behind your text color, not just a single flat background.

Sample text

Check link contrast

Adds a third color for the text surrounding a link, and checks it against WCAG's link-distinguishability guidance (SC 1.4.1).

This is surrounding text with a link inside it.

Background color

Surrounding text color

Link vs. background6.29:1Pass
Link vs. surrounding text15.99:1Pass

Link color is whatever the text color above (#ffffff) is currently set to.

Every color you check, sample, or save stays on your device — this tool doesn't even have a server to send it to.

Frequently asked questions

Related tools

Color Picker
Pick a color and get its HEX, RGB, and HSL code.
CSS Gradient Generator
Build a CSS gradient and copy the code instantly.