Contrast Checker
Check WCAG contrast ratios for accessible color combinations
Normal text (16px) — The quick brown fox jumps over the lazy dog.
Large bold text (24px) — Example heading
Verify that your text meets WCAG 2.1 contrast requirements for accessibility. Pick any two colors and instantly see the contrast ratio, plus AA and AAA pass/fail status for normal and large text. Adjust colors live until you hit your target.
How to check WCAG contrast
Use the color pickers or paste HEX values for both colors.
The contrast ratio updates instantly with AA / AAA pass/fail badges.
If your colors fail, tweak the lightness until you meet the target.
Test against both AA (4.5:1) and AAA (7:1) standards for normal and large text.
Real-time text preview using the foreground and background colors.
Tweak colors with the picker until the contrast meets your target.
See the precise contrast ratio (e.g. 4.7:1) for documentation and audits.