Skip to content
LovTools
EN

Contrast Checker

Check text and background colours against WCAG 2.2 AA and AAA.

Processed locally on your device — nothing is uploaded.

About the Contrast Checker

Low-contrast text is hard to read for everyone and impossible for some people with low vision. Pick a text colour and a background colour to see the contrast ratio and a live preview, along with pass or fail results for every WCAG 2.2 level.

AA (4.5:1 for normal text) is the level most accessibility laws and guidelines require.

How to use the Contrast Checker

  1. Pick or type the text colour.
  2. Pick or type the background colour.
  3. Check the ratio and the WCAG results.

Features

  • Exact WCAG contrast formula
  • AA and AAA for normal and large text
  • UI component threshold
  • Live text preview

Supported formats

  • #hex
  • rgb()
  • hsl()

Frequently asked questions

What counts as large text?

18 point (24 px) regular or 14 point (about 18.7 px) bold and larger.

Is anything uploaded?

No. Everything is generated in your browser.

Added · Last reviewed · Maintained by Sohail Khax · How we test tools