Colour contrast checker.

Check whether text is readable against its background under WCAG 2.2, and get a suggestion when it is not.

Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.

Large text, 24px

Normal body text at 17px. The quick brown fox jumps over the lazy dog.

Contrast ratio

—

AA · normal text (4.5:1)
AA · large text (3:1)
AAA · normal text (7:1)
AAA · large text (4.5:1)
UI components & icons (3:1)

More design tools · All 55 free tools

How to use it

  1. Enter or pick the text colour and the background colour.
  2. Read the ratio and the pass or fail result for each WCAG level.
  3. If normal text fails, use the suggested colour: same hue, adjusted lightness.
  4. Check every state: hover, disabled, placeholder text and text on images.

Questions

What contrast ratio do I need?

WCAG 2.2 level AA asks for at least 4.5:1 for normal text and 3:1 for large text (24px, or about 19px bold) and for icons and input borders.

What counts as large text?

At least 18 point (24 CSS pixels) regular, or 14 point (about 18.7 CSS pixels) bold.

Does this check transparent colours?

Enter the final, visible colours. For semi-transparent text, use the colour it appears as on that background.

Is AAA required?

AA is the usual legal and contractual target. AAA is stricter and not always achievable for every element.

Let’s build something great.

Tell us what you want to build, who it is for and what it needs to do. We’ll help you define a practical next step.

Start a project