jmautida.Web developer & toolmaker
Let’s talk
Design & Media

Color contrast checker (WCAG & APCA)

Make text everyone can read. Check any color pair against WCAG 2 thresholds and the newer APCA model, get the nearest passing colors in one click, preview how the pair looks with color-vision deficiencies, and test a whole palette at once.

Runs in your browserFree · no sign-up
Loading color contrast checker…

How it works

How to use the color contrast checker

  1. Enter text and background colors as hex, rgb(), hsl() or a color name — or use the pickers and eyedropper.
  2. Read the contrast ratio, the AA/AAA results for normal text, large text and UI components, and the APCA Lc value.
  3. If a check fails, click a suggested color to apply the closest accessible alternative.
  4. Open Palette matrix to paste your brand colors and see every combination's contrast at a glance.

What it can do

  • WCAG 2.x AA and AAA for normal text, large text and UI components
  • APCA lightness contrast (Lc) for modern guidance
  • Nearest accessible color suggestions for text or background
  • Color-blindness simulations: protanopia, deuteranopia, tritanopia, achromatopsia
  • Accepts hex, rgb(), hsl() and CSS names; eyedropper where supported
  • Palette matrix for up to 12 colors; shareable links
FAQ

Common questions

What contrast ratio do I need?

WCAG AA requires 4.5:1 for normal text and 3:1 for large text and UI components. AAA requires 7:1 for normal text and 4.5:1 for large text.

What counts as large text?

WCAG defines large text as at least 18pt (24px), or at least 14pt (about 18.7px) when bold.

What is APCA?

The Accessible Perceptual Contrast Algorithm is a newer contrast model that accounts for text polarity and how we perceive lightness. Lc 75+ suits body text and Lc 60+ suits larger text. It is informative; WCAG 2 ratios remain the legal standard in most places.

Does a passing pair make my page accessible?

It's one important part. Accessibility also depends on structure, focus states, keyboard support, alternative text and more.

More useful tools

Found a bug or want a feature? Tell me →