Contact, if you are interested in this website/domain name/Sponsorship/Advertisement/Partnership

Colour Contrast Checker

Check whether text and background colours meet the WCAG contrast levels for readable, accessible design.

Loading the tool. It needs JavaScript to run.

Runs entirely in your browser. Nothing you enter is uploaded.

How to use it

Pick the text colour and the background colour. The ratio, a live preview and a pass or fail for each standard update as you change them.

What the ratio means

Contrast ratio compares how light two colours are, from 1 to 1 for identical colours up to 21 to 1 for black on white. The Web Content Accessibility Guidelines, known as WCAG, set the minimums most organisations and many laws refer to:

  • AA asks for 4.5 to 1 for normal text and 3 to 1 for large text.
  • AAA asks for 7 to 1 for normal text and 4.5 to 1 for large text.
  • Icons, form borders and other controls need 3 to 1 against what is next to them.

Large text means about 24 pixels and up, or about 19 pixels and up when bold.

Questions people ask

Who benefits from good contrast?

Everyone reading on a phone in sunlight, as well as people with low vision or colour blindness, which affects roughly one man in twelve.

Is passing AA enough?

AA is the level most accessibility rules require. Treat it as the floor, and aim higher for long passages of body text.

Does colour blindness change the result?

The ratio is based on lightness, not hue, so a pair that passes stays readable for most kinds of colour blindness. Do not rely on colour alone to carry meaning.

New tools and guides, by email

One short note when something useful ships. No spam, and you can leave with one click.