Contrast Checker
Test text and background colour contrast against WCAG AA and AAA, with a live preview — free and instant in your browser.
Contrast ratio
16.35:1
Preview
WCAG AA needs 4.5:1 for normal text and 3:1 for large text. AAA needs 7:1 and 4.5:1.
How to check colour contrast
- 1Enter the text colour and the background colour, or pick them from the colour swatches.
- 2The ratio and the WCAG AA / AAA results update as you type.
- 3Copy the ratio to paste into a design note or a bug report.
Reading the numbers
Contrast ratio compares the relative luminance of two colours, from 1:1 for identical colours up to 21:1 for black on white. WCAG AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1 and 4.5:1. The formula is the standard WCAG 2.1 one, so the result matches the accessibility tools your team already uses.
FAQ
What counts as large text?
18pt (24px) regular text or 14pt (about 18.7px) bold text, as defined by WCAG.
Can I check icons and borders?
Yes — the ratio applies to any foreground and background pair, including icons and UI borders. The AA and AAA thresholds above are the text ones.
Advertisement space — reserved