What Does the Contrast Checker Do?
The Contrast Checker measures the contrast ratio between a text color and a background color and grades it against the WCAG accessibility standard — the benchmark used by accessibility laws and audits worldwide. You get the exact ratio (e.g. 7.42:1), pass/fail badges for WCAG AA and AAA at both normal and large text sizes, a live preview of real text in your colors, and plain-language advice on what the result means.
How to Check Contrast
- Set your text color and background color — with the pickers or by typing HEX codes.
- Read the ratio and the four pass/fail badges.
- Look at the live preview to sanity-check readability.
- If it fails, darken/lighten one color and watch the badges flip — ⇄ Swap quickly tests the inverse.
Understanding the WCAG Thresholds
- AA normal text — 4.5:1 — the legal-compliance baseline for body copy in most jurisdictions.
- AA large text — 3:1 — for text ≥24px, or ≥18.5px bold.
- AAA normal — 7:1 / AAA large — 4.5:1 — the enhanced tier for maximum readability.
- UI components — 3:1 — icons, input borders and focus indicators also need 3:1 against adjacent colors (WCAG 1.4.11).
Roughly 1 in 12 men has some form of color vision deficiency, and everyone struggles with low contrast on sunlit phone screens. Good contrast isn't just compliance — it is usability for every visitor.