Image to Color

Color Contrast Checker WCAG

Colors
—

Large text means 24px regular or 18.66px bold and up. Logos and inactive controls are exempt. Ratios are never rounded up: 4.499 fails.

Live preview

Simulation uses the Machado et al. (2009) model at full severity, an approximation and not a medical test. About 1 in 12 men and 1 in 200 women have a color vision deficiency. Switch the simulation above to check your pair.

One-tap fixes · pass WCAG and APCA together
What can this pair be used for?

Official APCA font lookup (beta 0.1.7 G, May 2022). Each cell is the minimum Lc for that size and weight: ✓ you meet it, ✗ you are below it, ⊘ not allowed, spot = placeholder, disabled or copyright text only. For paragraphs, aim for Lc 75 at minimum and 90 preferred. Values assume Helvetica/Arial-like fonts; fonts with a smaller x-height need larger sizes.

Text over image or gradient
Your headline here

Drag the text box over the busiest part. Your text color is sampled against every pixel behind it. Images stay on your device.

Palette audit

Paste up to 10 HEX colors, separated by spaces, commas or lines. Rows are text colors, columns are backgrounds. Tap any cell to inspect that pair.

AAA / AA 4.5:1 or more · Large text only 3:1 to 4.5:1 · Fails below 3:1

Pinned pairs
Accessible palette builder

Every step is placed at a fixed contrast against white (step 600 and darker pass 4.5:1 with white text). Each swatch shows its best text color.


          
Contrast report
Export

          
Why this matters

WCAG 2.x contrast is what regulations reference. The EU’s European Accessibility Act (applicable since 28 June 2025) points to EN 301 549, which is based on WCAG 2.1 AA. In the US, the ADA Title II rule adopts WCAG 2.1 AA for state and local government, and courts commonly use WCAG as the benchmark in private-sector suits. The contrast formula is identical in WCAG 2.0, 2.1 and 2.2.

APCA is the perceptual model proposed for WCAG 3. It is polarity-aware, so light-on-dark (dark mode) is judged differently from dark-on-light, and it accounts for font size and weight. It is still a draft, so treat it as a second opinion, not a legal pass.

Automated checks catch contrast only. Test with real users and real devices too.

Test Your Text and Background Contrast in Seconds

Are you worried that your text is hard to read on your background? Not sure if your color combination passes accessibility rules? Don't worry, my friend! You're in the right article, because today we're getting to know a free color contrast checker that tests WCAG 2.2 and APCA side by side and even fixes the problem for you.

We won't keep you waiting. We'll go straight to what a contrast ratio is, how to use this contrast ratio tester, and what it does well (and where it has limits). Better still, you can test your own colors right in the next section.

What Is a Color Contrast Checker and Why Does Contrast Ratio Matter?

A color contrast checker compares the brightness of your text color with the color behind it, and gives you a number called the contrast ratio. It runs from 1:1 (no difference at all) up to 21:1 (black on white). The higher the number, the easier your text is to read.

From my personal point of view, this is one of the most overlooked parts of web design. Light grey text on a white page looks elegant on your big monitor, but it becomes a struggle on a cheap phone in the sunlight, or for anyone with low vision. A proper color contrast evaluation takes seconds and saves your readers a lot of squinting.

Read also: Color Combinations for ideas on pairing colors that look good together.

WCAG Contrast Requirements: AA vs AAA at a Glance

WCAG is the standard most laws and audits refer to. The formula is the same across WCAG 2.0, 2.1 and 2.2, so you only need to remember these numbers:

Content type AA (minimum) AAA (enhanced)
Normal text 4.5:1 7:1
Large text (24px, or 18.66px bold) 3:1 4.5:1
UI components (buttons, input borders) 3:1 n/a

One detail I like: the tool never rounds ratios up, so 4.499 fails, exactly as it should.

Key Features of the Color Contrast Checker WCAG Tool

WCAG 2.2 and APCA together

See the classic ratio and the newer Lc score side by side.

One-tap fixes

Get nearby colors that pass AA or AAA, so you keep the spirit of your brand color.

Color blindness simulation

Preview your pair as seen with protanopia, deuteranopia, tritanopia or monochromacy.

Text over image or gradient

Drag a text box over a photo and test against every pixel behind it.

Palette audit

Paste up to 10 HEX colors and see every text and background combo in one grid.

Accessible palette builder

Generate a color scale with light and dark mode tokens. Export as CSS, Tailwind or JSON.

It also runs fully in your browser, so your colors and images stay private.

How to Check Color Contrast Step by Step

  1. Open the Color Contrast Checker from the Color Tools menu.
  2. Enter your text color and background color as HEX codes, or use the picker.
  3. Read the ratio and the pass or fail badges for AA, AAA, large text and UI.
  4. Check the live preview to see how it feels in real life.
  1. Look at the one-tap fixes below your result.
  2. Choose to adjust the text, the background, or flip to a dark-mode pair.
  3. Tap a fix to apply it and watch the ratio update.
  4. Pin the pair if you want it in your report.
  1. Paste your brand colors into the palette audit box.
  2. Scan the grid: rows are text colors, columns are backgrounds.
  3. Tap any cell to inspect that pair in detail.
  4. Export the final result as CSS, Tailwind or JSON.

WCAG vs APCA: Which Contrast Method Should You Trust?

WCAG 2.x is what regulations use today. APCA is a perceptual model proposed for WCAG 3. It considers font size and weight, and it treats dark mode differently from light mode. It's still a draft, so my advice is simple: pass WCAG first, then use APCA as a second opinion. This tool shows both, which saves you from switching between two websites.

Read also: Palette from Image if you want to pull colors from a photo before you test them.

Color Contrast and Accessibility Compliance (ADA and EAA)

The European Accessibility Act has applied since 28 June 2025 and points to EN 301 549, which is based on WCAG 2.1 AA. In the US, the ADA Title II rule adopts WCAG 2.1 AA for state and local government, and courts often use WCAG as a benchmark in private cases too. I'm not a lawyer, and a contrast check alone doesn't prove compliance, but it is the quickest win on any accessibility list.

Pros and Cons

The good news

  • WCAG 2.2 and APCA in one place.
  • Fixes that keep your brand colors close.
  • Color blindness preview and palette audit.
  • Private, runs in your browser.

Keep in mind

  • Contrast is only one part of accessibility.
  • APCA is still a draft standard.
  • Color blindness simulation is an approximation, not a medical test.

Who Should Use This Contrast Checker?

Web designers, UI and UX designers, front-end developers, bloggers, and anyone building a brand. If you pick colors for anything people read, this tool is for you. Beginners will love the clear pass or fail badges, and experienced designers will love the exports.

Frequently Asked Questions About Color Contrast

What is a good color contrast ratio?

For normal text, aim for at least 4.5:1 to meet WCAG AA. For stronger readability, 7:1 meets AAA. Large text needs 3:1 for AA.

What is the minimum contrast ratio for WCAG AA?

4.5:1 for normal text, 3:1 for large text (24px regular or 18.66px bold and up), and 3:1 for UI components such as buttons and input borders.

What is APCA and will it replace WCAG?

APCA is a newer perceptual contrast model proposed for WCAG 3. It is still a draft, so use it as a second opinion while WCAG 2.x remains the standard that regulations point to.

Does color contrast apply to dark mode?

Yes. Light text on a dark background must meet the same ratios, and APCA treats light-on-dark differently from dark-on-light, which is why checking both is smart.

Is my data uploaded when I test images or colors?

No. The tool runs in your browser, and images you choose stay on your device.

Can I check a whole palette at once?

Yes. Paste up to 10 HEX colors and the palette audit shows every text and background combination in one grid.

Conclusion:

A good color contrast checker should be fast, clear and honest, and this one is all three. It tests WCAG 2.2 and APCA together, gives you fixes instead of just warnings, and keeps everything private. The only real limits are that contrast is just one piece of accessibility and APCA is still evolving. My advice: test your main text and button colors today, then audit your full palette.

That was our guide to the Color Contrast Checker WCAG tool. I hope you like it. See you soon in a new and valuable article.