Free from UpstreamXD

Color Contrast Check

Check whether a text and background color pair meets WCAG 2.2 contrast requirements for body text, large text, and interface components. Everything runs in your browser, so the colors you enter are never sent anywhere, and you can check as many pairs as you like.

Check your color contrast

Enter a text color and a background color as hex values, or pick them. We calculate the WCAG contrast ratio and show which levels the pair passes, then the APCA lightness contrast as a second opinion.

Colors are checked in your browser and never sent. The ratio uses the WCAG 2.2 relative luminance formula and is truncated to two decimals, so a borderline pair never rounds up to a pass. Privacy policy · Design glossary

What It Checks

  1. AA

    Body text needs a contrast ratio of at least 4.5:1 against its background to meet WCAG 2.2 level AA.

  2. Large

    Text at 24px and up, or 18.66px and up when bold, needs at least 3:1, because larger letters stay readable at lower contrast.

  3. AAA

    The enhanced level asks for 7:1 for body text and 4.5:1 for large text, a good target for long reading.

  4. UI

    Buttons, form field borders, focus rings, and icons that carry meaning need at least 3:1 against what is next to them.

  5. What it can't see

    Text over images, gradients, and translucent layers needs testing in the browser against the real pixels.

Enter colors as three or six digit hex values, with or without the hash, or use the color pickers.

Why This Matters

Low contrast is one of the most common accessibility barriers on the web, and one of the easiest to fix once you know where it is. A check like this one covers a single pair. A focused website review looks at contrast alongside the other barriers that keep people from finishing the tasks that matter on your site.

Want a second look at your website?

Contrast is one piece. Tell us about your website and what people need to do there, and we'll talk about whether a review would help.

Let's Talk About Your Website