Colour Contrast Checker
Colour Contrast Checker
Check the WCAG contrast ratio between a text colour and a background colour. See whether the pair passes AA and AAA for normal and large text.
21.00 : 1
Black text on white background
| Standard | Normal text | Large text |
|---|---|---|
| AA (4.5 / 3.0) | Pass | Pass |
| AAA (7.0 / 4.5) | Pass | Pass |
Large sample text
Normal sample text — the quick brown fox jumps over the lazy dog.
About the Colour Contrast Checker
The Colour Contrast Checker measures how easy text is to read against its background. It calculates the WCAG contrast ratio, a number from 1 to 21, where 1 means the colours are identical and 21 means the strongest possible contrast, black on white.
WCAG sets two levels. AA is the usual target for readable text: a ratio of at least 4.5 for normal text and 3.0 for large text. AAA is stricter: 7.0 for normal text and 4.5 for large text. Large text means 18 point or larger, or 14 point bold or larger.
How to use
- Pick a text colour and a background colour using the colour pickers, or type hex values such as #000000.
- Click Check contrast.
- Read the ratio and the AA and AAA pass or fail results for normal and large text.
- Look at the live preview to judge how the combination reads.
Key features
- Colour picker and hex text input for both colours
- Exact WCAG contrast ratio to two decimal places
- AA and AAA pass and fail results for normal and large text
- Live preview with large and normal sample text
- Swap colours with one click
Frequently asked questions
Aim for at least 4.5 to 1 for normal text, which passes WCAG AA. A ratio of 7 to 1 or higher passes AAA and is even easier to read.
Large text is 18 point or larger, or 14 point bold or larger. It needs less contrast: 3.0 for AA and 4.5 for AAA.
Both the 3-digit form, such as #000, and the 6-digit form, such as #000000, are accepted. A leading # is optional.
The two colours are too close in brightness. Darken the text, lighten the background, or pick a more different colour for one of them.
No. The check runs entirely in your browser and nothing is uploaded or stored.
