Best colour contrast checkers for WCAG text pairs
Checking two colours against WCAG 2 contrast is a defined calculation: relative luminance of the lighter and darker colours, then (L1 + 0.05) / (L2 + 0.05). The tools that do that job are not interchangeable. Some only grade text. Some also cover the 3:1 bar for graphics and UI components in WCAG 2.1/2.2 Success Criterion 1.4.11. Some add colour-vision simulations. None of the options below is an APCA checker, and none replaces a full accessibility audit of real components, focus states, or text inside images.
This article was written with the assistance of AI.
This compares five tools whose official pages are built around the same task: enter a foreground and a background, get a contrast ratio, and see WCAG-style pass or fail grades. It is not a hands-on benchmark and not a single “overall best” ranking. Pick by workflow — a quick hex pair in the browser, sampling colours off a PDF or a native window, or explaining who a failing pair may affect.
The same checks apply to each tool: the contrast model and whether non-text 3:1 is shown as its own result; hex, RGB, HSL or HSV, alpha, and eyedropper support; preview, font samples, reverse, saved pairs, shareable URLs, or an API; colour-vision simulations and how the vendor describes them; browser versus an installed app, plus published price; and only the data-handling claims the vendor actually states. Missing claims are marked unknown. Ratios were not re-computed here.
WebAIM Contrast Checker
WebAIM’s Contrast Checker is a free page from WebAIM, a non-profit service center at Utah State University that has published accessibility resources since 1999. You enter foreground and background colours as RGB hex, or use a colour picker; an alpha value can be set on the foreground, and lightness sliders let you nudge a failing pair toward a target ratio.
It reports AA and AAA for normal and large text, plus a separate WCAG 2.1 AA result for graphical objects and user interface components (the 3:1 non-text bar). Large text is defined on the page as 14 point (typically 18.66 px) and bold or larger, or 18 point (typically 24 px) or larger. Permalinks use fcolor and bcolor query parameters. Appending &api returns JSON with the ratio and pass/fail states. WebAIM also offers a bookmarklet and a companion link contrast checker for links distinguished by colour alone.
WebAIM’s terms say the organization will not sell or otherwise give personal information submitted to it to external parties. Colour values appear in the page URL. WebAIM pages use Google Analytics; treat any broader telemetry claim as unknown beyond those terms.
Best fit: a widely cited, no-install checker, including the non-text 3:1 row, a documented definition of “large text,” and an API or bookmarklet. Trade-off: no colour-vision simulation on this page, and it is not a system-wide eyedropper for a PDF or a native app.
TPGi Colour Contrast Analyser
The Colour Contrast Analyser (CCA), currently listed as version 3.5.5, is a free desktop app from TPGi / Vispero. The open-source repository describes Windows and macOS builds (Electron; GPL-3.0). The product page says it can be used on websites, app UIs, social graphics, PowerPoint, PDFs, and InDesign — anywhere you can point an eyedropper.
Documented features include swapping foreground and background; WCAG 2.0, 2.1, and 2.2 results; HEX, RGB, HSV, and HSL entry; alpha on the foreground; sliders to adjust a failing pair; short or long copy-to-clipboard result formats; a preview for text and non-text contrast; a colour-blindness simulator with eight vision-deficiency settings; and language plus theme preferences. The GitHub README notes that the colour picker is for Windows and macOS only, which matches the supported builds.
CCA is free, with the usual GPL “no warranty” language. A dedicated, CCA-specific privacy policy describing local sampling versus any app telemetry was not found on the product page — unknown. There is no shareable URL workflow, because this is an installed app.
Best fit: testers who need to sample real pixels from a document, a design file, or a running interface, with non-text contrast and a built-in colour-blindness simulator. Trade-off: it requires an install, and it is the wrong shape for “paste this permalink into the ticket.”
WhoCanUse
WhoCanUse is a free browser tool (open source, GitHub: CoreyGinnivan/whocanuse) that starts from a contrast ratio and then shows how that pair may look under several visual conditions. The site describes regular trichromatic vision, several red/green/blue deficiencies, achromatopsia, plus simulations for cataracts, glaucoma, low vision, direct sunlight, and Night Shift. Population percentages are attributed to colour-blindness.com and Vision Australia; the site itself warns that those estimates do not add up to 100% and do not cover every impairment.
The project says contrast comes from chroma.js, grades also consider font size and weight, and colour-blind simulations use the color-blind library. Cataracts, glaucoma, low vision, and the situational modes are described as personally created simulations — useful as illustrations, not clinical measurements. A failing grade is explained as a combination that “offers some visual strain” and “should be avoided if possible,” which is broader language than a strict WCAG table.
No price or account is mentioned. The homepage describes client-side libraries for the math and simulations; whether the hosted site also runs analytics is not stated there — unknown.
Best fit: critiques where the question is not only “does this pair pass AA?” but “who might struggle with it, and under what conditions?” Trade-off: the simulations are approximations; it is less of a token-handoff or audit-export tool than WebAIM or CCA.
colourcontrast.cc
colourcontrast.cc is a free Colour Contrast Checker by Alex Clapperton. The live page (verified 22 November 2026) shows pass/fail for AA Large, AAA Large, AA Normal, and AAA Normal; background and foreground fields; RGB and HSL slider tabs; copy-to-clipboard; reverse colours; a “Save colours” control; a “Select Google font” control; and large and normal example copy. Query parameters work as a share mechanism: https://colourcontrast.cc/?background=ffffff&foreground=000000 reloads those values in the inputs.
A dedicated non-text / UI-component 3:1 row was not present in the page UI reviewed for this article. Alpha inputs and a system eyedropper were also not found there. How “Save colours” is stored, and for how many pairs, is not documented on the page — unknown. Choosing a Google font implies a request to Google Fonts for preview.
Best fit: a clean, shareable pair checker with HSL controls and a font preview, without installing software. Trade-off: no documented non-text contrast row, and no documented colour-vision simulator.
Colour Contrast Analyser
The colour contrast analyser on Uwarp is a free browser tool for foreground and background pairs. The product page says it computes WCAG 2.x relative luminance, (Llighter + 0.05) / (Ldarker + 0.05), and lists pass/fail rows it describes as “above 3:1” (AA Large), “above 4.5:1” (AA normal and AAA Large), and “above 7:1” (AAA normal). Those “above” phrases are the page’s wording, not the standard. WCAG 2 uses at least: a ratio of 3:1, 4.5:1, or 7:1 meets the relevant criterion. Equality counts as a pass. Inputs are six-digit hex fields plus RGB and HSL sliders. You can reverse a pair, save up to six recent combinations in localStorage on that device, preview large and normal copy, optionally choose from a Google Fonts list (described as the top 50 by popularity), and reload a pair from background and foreground query parameters.
The page is explicit about scope: WCAG 2.x relative luminance, “not APCA, not print ink or window tint simulation.” Ratio math is described as client-side, with colours “not uploaded for analysis.” Optional Google Fonts previews, if used, would still request those font files from Google.
What it does not document, compared with some tools above: a separate non-text / UI-component 3:1 result, foreground alpha, a screen eyedropper, or colour-vision simulations. The saved-pair limit is six, locally, on that browser.
Best fit: a quick, shareable hex-pair check in the same browser style as colourcontrast.cc, with a clearly stated WCAG 2.x formula and a small local swatch history. Trade-off: it is not a substitute for CCA when you need to sample pixels off a PDF or a native window, and it is not a substitute for WhoCanUse when you need deficiency simulations.
Choose by the job, not by a composite score
Use WebAIM when you want the most widely referenced browser checker, including the non-text 3:1 row and an official API. Use CCA when the colours live on screen in a file or app, not already as hex tokens. Use WhoCanUse when the review needs simulations and a reminder that a ratio is about people, not only a badge. Use colourcontrast.cc or Uwarp when the workflow is “paste two values, preview type, share or save the pair.” Between those last two, the documented differences are practical: Uwarp publishes a six-pair localStorage cap and an explicit “not APCA” scope note; colourcontrast.cc exposes a working ?background=&foreground= share URL and the same hex/RGB/HSL plus font-preview pattern, but does not document a non-text row or a save-limit.
If the work is a design system or a production UI, use more than one of these for different questions — token contrast, on-screen sampling, and simulation — and still inspect the real component states. A passing pair in a checker does not guarantee that placeholder text, disabled buttons, or icons meet the same bar.
