Designio

Color contrast checker

Test text and background colors against WCAG, and get a fix when they fail.

4.83:1

Large text looks like this

Normal text looks like this. Read it at arm’s length to judge it the way your visitors will.

Normal text, AAneeds 4.5:1Pass
Normal text, AAAneeds 7:1Fail
Large text, AAneeds 3:1Pass
Large text, AAAneeds 4.5:1Pass
Icons and UI parts, AAneeds 3:1Pass

How to use it

  1. Enter your text color and background color as hex values, or use the pickers.
  2. Read the ratio and the pass or fail result for each kind of text.
  3. If it fails, use the suggested color, which keeps the same hue and changes only the lightness.

What the numbers mean

Contrast ratios run from 1:1, which is no difference at all, to 21:1, which is black on white. WCAG level AA asks for 4.5:1 for normal text and 3:1 for large text. Level AAA asks for 7:1 and 4.5:1.

Large text means at least 24px, or about 18.7px when bold. Icons, input borders and other interface parts need 3:1 under WCAG 1.4.11.

Why a passing score can still feel hard to read

The formula measures luminance only. Thin fonts, small sizes and strongly saturated pairs such as red on green can feel worse than their number suggests. Treat a pass as the minimum, then read the text on a real phone.

Common questions

Does this use the official WCAG formula?

Yes. It uses the relative luminance and contrast ratio definitions from WCAG 2.

Does order matter?

Not for the ratio. Swapping the two colors gives the same number, though it can change how the text feels.

Do logos need to pass?

WCAG exempts logos and brand names from the text contrast rule.

Related guides

More free tools

  • QR code generator

    Create a custom QR code with your colors, shapes and logo, then test that it scans.

  • Background remover

    Remove the background from a photo right in your browser, then save a PNG.

  • Image enhancer

    Upscale small photos with AI and fix brightness, sharpness and color.