Contrast Checker
Does your text read clearly? Check it against WCAG. Nothing is uploaded or stored.
Colours
Enter two colours.
Check a whole palette
| Colour | Ratio | AA normal | AA large |
|---|
Result
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog. Large text is 24 px bold; normal text is 16 px.
Fix it
How the contrast checker works
Formula. The ratio uses the WCAG relative-luminance formula: each channel is linearised, then luminance = 0.2126R + 0.7152G + 0.0722B, and the ratio is (lighter + 0.05) / (darker + 0.05).
Thresholds. AA needs 4.5:1 for normal text and 3:1 for large text (24 px, or 18.66 px bold); AAA needs 7:1 normal and 4.5:1 large.
Simulation. The colour-blindness view uses the published Machado matrices; it is a basic simulation, not a medical test.
Local only. All work happens in your browser. Nothing is uploaded, stored or shared.