Free tool · runs in your browser

Free color contrast checker

Can people read the text on my website?

If visitors squint at your text, some of them leave. Enter a text color and a background color and this color contrast checker gives the WCAG 2.2 contrast ratio, with a clear meets or below for each AA and AAA threshold.

Free, no signup. What you paste or choose stays in your browser: it is not sent to Site Clinic and not stored.

Color contrast checker

The result appears here.

How to use it

  1. Find the two colors as hex codes, like #1a1a1a. Your website builder's color settings or your browser's developer tools show them.
  2. Enter the text color and the background color.
  3. Read the ratio and each result. Normal body text should meet 4.5:1.
  4. If a pair is below, darken the text or lighten the background and check again.

What this measures

  • The WCAG 2.2 contrast ratio between two opaque sRGB colours entered as 6-digit or 3-digit hex, using the WCAG relative luminance formula (linearisation threshold 0.04045), compared without rounding against 1.4.3 (AA), 1.4.6 (AAA) and 1.4.11 (non-text, AA).

What it cannot determine

  • Contrast for transparent colours, gradients, images or text shadows. Colours with an alpha value are refused; check the rendered page.
  • Which threshold applies. That depends on the rendered size and weight (large text is at least 18pt, or 14pt bold, about 24px or 18.5px) and on whether the colour is text or a needed part of a control or graphic.
  • Whether your page passes WCAG. Contrast is one criterion; nothing else is tested.
The next step

One check is a start. Your whole site is the picture.

Contrast is one accessibility check of many. Site Clinic includes accessibility in its recurring website monitoring; see how it works and what it does not claim.

Questions

What is color contrast?

Contrast is how much a text color stands out from its background, written as a ratio from 1:1 (no difference) to 21:1 (black on white). Low contrast makes text hard to read, especially for people with low vision and anyone reading a phone in sunlight.

What ratio do I need?

For WCAG 2.2 level AA, normal text needs at least 4.5:1, large text (18pt, or 14pt bold) at least 3:1, and the parts of buttons and form fields people need to see at least 3:1. Level AAA asks for 7:1 for normal text.

Does passing this check make my website accessible?

No. Contrast is one of many accessibility requirements, and this checker tests one color pair. It does not test your pages, and it does not certify compliance with any law or standard.

Why is the ratio shown slightly lower than other tools sometimes show?

The ratio is shown cut to two decimals, never rounded up, and the pass or fail result uses the exact value. A ratio of 4.499:1 does not meet 4.5:1, so it is never displayed as 4.50:1.

More free tools

All free tools

We use Google Analytics to understand how visitors find Site Clinic. No cookies fire until you choose. Privacy policy.