Free Colour Contrast Checker
Check whether your text and background colours are easy to read, measured against the accessibility levels used across the web.

Check your colours
Your colours
Large heading text
This is how normal body text looks in these colours. Can you read it comfortably?
Contrast ratio
--
| Check | AA | AAA |
|---|---|---|
| Normal text | ||
| Large text | ||
| Buttons and icons | Not set |
Why it matters
Readable for every visitor
Pale grey text on white and light lettering over photographs are among the most common reasons people give up on a website. Good contrast helps visitors with low vision, older eyes or colour blindness, and everyone reading a phone in bright sunlight.
Clear, readable pages keep people on the site for longer, and accessibility checks such as the one in Google Lighthouse look at colour contrast too.

Fixing a failing pair
Small changes that pass
Usually only one colour needs to move. Darken the text a few shades, or lighten the background, and check again. Brand colours can often stay for headings and buttons while body text uses a deeper shade of the same colour.
For text over photographs, add a solid or semi-transparent band behind the words so the contrast stays steady wherever the image is light.

Questions
Colour contrast questions
What contrast ratio do I need?
The Web Content Accessibility Guidelines ask for at least 4.5 to 1 for normal text and 3 to 1 for large text at level AA. The stricter AAA level asks for 7 to 1 for normal text and 4.5 to 1 for large text.
What counts as large text?
Text of at least 18 point, which is 24 pixels, or at least 14 point bold, which is about 19 pixels. Most body text on websites is smaller than this, so it needs the higher ratio.
Do buttons and icons need good contrast too?
Yes. Buttons, form borders, icons and other parts of the interface that people need to see should reach at least 3 to 1 against the colours next to them.
Why does a colour pair look fine to me but fail?
Screens, lighting and eyesight vary a great deal. A pair that looks clear on a bright monitor indoors can be hard to read on a phone outside, or for someone with low vision. The ratio gives a fair test that does not depend on any one screen.
Does the checker round the result up?
No. The ratio is cut off at two decimal places rather than rounded, so a pair that really measures 4.48 to 1 never shows as 4.5 and passes by mistake.