Free tool

Color Contrast Checker

Paste your text and background colors in any format. If they don’t pass, drag a slider into the green and copy the new color out.

How it works

What the contrast numbers mean.

Contrast ratio compares how light your text is with how light the background behind it is. It runs from 1:1, the same color on itself, to 21:1, black on white. The Web Content Accessibility Guidelines (WCAG) set the minimum ratios text needs so people with low vision, color blindness, or a phone in bright sunlight can still read it.

4.5:1

AA, normal text

The level most accessibility laws and standards point to. Aim for this on all body text.

3:1

AA, large text

Big text is easier to read, so it can get away with less contrast.

7:1

AAA, normal text

The strictest level. Large text needs 4.5:1 to reach AAA.

Fixing a pair that fails

Paste your text and background colors in whatever format you have them: hex, RGB, HSL, OKLCH, or the values macOS Digital Color Meter copies. Each slider shows in green every lightness that makes the pair pass. If the pair fails, drag either slider into the green, then copy the new color out as hex, RGB, HSL, or OKLCH.

The sliders only make a color lighter or darker. Its hue stays the same, so your brand red stays red, just a shade that people can read.

Questions

Color contrast, answered.

What is WCAG?

The Web Content Accessibility Guidelines, the W3C standard for making websites work for people with disabilities. Most accessibility laws and audits point to level AA. Read the full guide to WCAG.

Why is this important?

Text without enough contrast is hard to read for people with low vision or color blindness, for older eyes, and for anyone reading a phone in bright sunlight. If people can't read your page, they can't buy from you or contact you. And in many places, accessibility laws require it.

What counts as large text?

Text at least 24px (18pt) in a regular weight, or at least 18.66px (14pt) in bold. Anything smaller needs the normal-text ratio.

Which level should I aim for?

AA. It's what most accessibility laws, standards, and audits check against. AAA is a good goal for long passages of body text, but it's hard to meet everywhere on a site, and WCAG doesn't expect you to.

Does contrast matter for buttons and icons too?

Yes. WCAG asks for at least 3:1 between the colors next to each other wherever people need them to spot a button, an input, or an icon that means something. This checker is built for text, but the ratio works the same way.

What about logos and disabled buttons?

Logos and brand names are exempt, and so is text in controls that are disabled. Text that's purely decorative or part of a photo is exempt too.

What happens to transparent colors?

They're checked as solid colors. How readable a see-through color is depends on what's behind it, so check the color you actually see on the page.

We audit accessibility across your site.

Bloomlight runs a full accessibility audit on your key pages every day, and background sweeps check the other pages as capacity allows — catching contrast failures, missing alt text, and more.

Start monitoring free

One page is a start.

Bloomlight checks accessibility on your key pages every day, and sweeps the rest of your site as capacity allows — not just the colors, but alt text, focus order, and everything our page audits flag.