If you only need to know whether one pair of colors passes WCAG, any of these tools will tell you in seconds. They differ in what happens next: whether they help you fix a failing pair, whether they check a whole palette, and how much else is on the page. We ran the same test pair, #999999 text on a #FFFFFF background, through each one without signing in.

The short answer

  • For a plain, fast pass or fail with a shareable link, WebAIM's Contrast Checker does the job.
  • If you are already in Coolors or Adobe's color tools, their built-in checkers are fine, but expect pop-ups, ads or a bigger interface around them.
  • If you want a failing pair fixed for you and a whole palette checked at once, try ours. We built it, so read our notes on its limits below.

What to look for in a contrast checker

  • ✓It reports the ratio and pass or fail for normal text, large text and UI components, at AA and AAA.
  • ✓It shows a preview so you can judge the pair with your own eyes, not just the number.
  • ✓It helps you fix a failing pair instead of leaving you to guess.
  • ✓It can check more than one pair, since real designs use a palette.
  • ✓It works without sign-up and does not get in the way.

WCAG 2.x sets the thresholds: 4.5:1 for normal text and 3:1 for large text at level AA, and 7:1 and 4.5:1 at level AAA. WebAIM's explanation page also lists 3:1 for graphics and user interface components.

1. WebAIM Contrast Checker

What happened: the page loaded straight from a link with our colors filled in and showed 2.84:1, with Fail for normal text, large text and UI components at AA and AAA. No sign-up, no limits.

Strengths: it is plain and quick, it has a permalink for each pair, an alpha field for transparent text, a lightness slider, and a simple API you reach by adding &api to the permalink. Shortfalls: the lightness slider is manual, so it does not suggest a passing color for you, and we saw no way to check a palette. The page also promotes WebAIM's paid evaluation services, which is reasonable for them but worth knowing.

2. Coolors contrast checker

What happened: with our colors in the link it showed 2.85 and the label "Very poor", with small text and large text indicators and a note reading "Click to fix". A welcome pop-up and an ad banner appeared over the page on our second attempt, and we did not manage to confirm what the fix link produces, so we cannot rate it.

Strengths: a clear score label and a fix link, and it sits inside a large color toolkit. Shortfalls: it shows the ratio rounded to 2.85 where WebAIM shows 2.84, and the pop-up and ad were in the way. We saw no row for UI components on the text we read.

3. Adobe Color contrast checker

What happened: the page opened with its own sample colors (11.16:1, all pass) and a table covering large text, small text, and graphics and UI at AA and AAA. We tried twice to enter #999999 and could not get the field to take it; a color picker panel opened instead. So we could not run our test pair through it and mark it untestable on that input.

What the page offers, from reading it: tabs for contrast suggestions and for setting a contrast ratio, a link to compare an entire palette, and a preview with sample page text. If you already use Adobe's color tools, those features may suit you. We did not test them.

4. colourcontrast.cc

What happened: loaded from a link with our colors on the first try and showed 2.85 with Fail for AA and AAA, normal and large text. It has RGB and HSL fields, a reverse-colors button, a save-colors button and a Google font selector for the preview.

Strengths: a clean page that does the basics and lets you try a typeface. Shortfalls: we saw no UI component result and no automatic fix, and we did not test the save feature.

5. Our Color contrast checker (we built this one)

Our checker takes hex, rgb(), hsl() or a color name, shows the ratio with a live preview, and reports pass or fail for normal text, large text and UI components at AA and AAA. For a failing pair it offers the nearest passing color for either the text or the background, keeping the hue and changing only the lightness. For #999999 on white it suggests #767676 for 4.5:1. It also has a grid that checks every pair in a palette of up to 12 colors, and a button to copy the result as CSS.

Where it falls short: we ran it ourselves, so treat our praise with care. It has no permalink or API like WebAIM, because it runs in a sandbox that cannot read or change the page address. It cuts the ratio off after two decimals instead of rounding up, which is the cautious choice but means it can differ from a tool that rounds, as 2.84 against 2.85 here. It uses the WCAG 2.x formula only. Like every tool here, it cannot judge text over images or gradients.

Try it: Color contrast checker.

Which should you use?

  1. Quick pass or fail you can link to
    WebAIM, because of its permalink and API.
  2. Already working inside a color toolkit
    Coolors or Adobe, whichever you already use.
  3. A failing pair to fix, or a whole palette to check
    Ours is built for that, or try the suggestion and palette features in Adobe's tool.
  4. A quick look with a different typeface
    colourcontrast.cc.

Sources we used

  1. WebAIM: Contrast Checker (tested with #999999 on #FFFFFF) — WebAIM
  2. Coolors contrast checker (tested with 999999-ffffff) — Coolors
  3. Adobe Color contrast checker (read and attempted) — Adobe
  4. colourcontrast.cc (tested with 999999 and ffffff) — colourcontrast.cc
color contrast checkerwcagaccessibilitydesign

Written from hands-on work at Huntsville Software. About the author →