Design & UI
Color Contrast Checker
WCAG contrast ratios for text and UI
Large sample text
Normal body text for contrast checking under WCAG 2.1.
Ratio
—
AA normal
—
AA large
—
AAA normal
—
About the Color Contrast Checker
Free WCAG color contrast checker for text and UI. Compare colors, see the contrast ratio, and check AA and AAA pass or fail in the browser.
How to use the Color Contrast Checker
- Pick a foreground color and a background color.
- Read the contrast ratio and the AA / AAA results.
- Adjust the pair until normal text reaches at least 4.5:1 for AA.
What to check
Large text can pass AA at 3:1. Icons and non-text UI often follow the 3:1 non-text contrast guidance as well.
What is a good contrast ratio?
WCAG 2.1 AA asks for 4.5:1 for normal text and 3:1 for large text. AAA raises those to 7:1 and 4.5:1.
Does this replace a full accessibility audit?
No. It checks colour contrast only. Keyboard access, focus order, and screen-reader labels still need a separate review.
Checks relative luminance against WCAG 2.1 AA and AAA thresholds.