Color Contrast Checker
Check any two colors against WCAG AA & AAA accessibility standards in real time. Enter foreground and background colors to see the contrast ratio instantly — pass/fail verdict in seconds, no sign-up needed. Supports HEX, RGB, HSL, and named CSS colors.
Contrast Ratio
URL Scanner
Scan any site for WCAG issues
Pick a seed color and get WCAG-compliant harmonies.
Get the Free WCAG Contrast Checklist (PDF)
Every color pair that passes WCAG AA, plus the 10 most common failures — in one PDF. Free, no spam.
No spam, ever. One email with the checklist, then occasional accessibility tips. Unsubscribe anytime.
How to Check Color Contrast
- Pick a foreground color — enter a hex code (like
#333333), use the color picker, or paste any CSS color value for your text or UI element. - Pick a background color — same input methods as foreground. The contrast ratio updates as you type.
- Read the results — the tool shows the contrast ratio and instantly marks WCAG AA / AAA pass-or-fail for both normal and large text.
- Explore alternatives — if your colors fail, use the Accessible Alternatives feature to get accessible color alternatives that preserve your original hue.
- Export a PDF — click Export to download a contrast report you can share with clients or attach to accessibility documentation.
WCAG Contrast Requirements
The Web Content Accessibility Guidelines (WCAG) define minimum contrast ratios to ensure text is readable by people with visual impairments, color blindness, or anyone viewing content in challenging lighting conditions.
| Level | Normal Text (<18pt) | Large Text (≥18pt / 14pt+bold) | UI Components | Typical Use |
|---|---|---|---|---|
| AA | ≥ 4.5:1 | ≥ 3:1 | ≥ 3:1 | Minimum legal standard |
| AAA | ≥ 7:1 | ≥ 4.5:1 | — | Enhanced accessibility |
| Fail | < 4.5:1 | < 3:1 | < 3:1 | Not compliant — adjust colors |
Real-World Contrast Examples
Here are common color combinations and how they perform against WCAG standards:
#333333 on #FFFFFF
12.6:1 — AAA Pass
#767676 on #FFFFFF
4.54:1 — AA Pass
#FF0000 on #FFFFFF
4.0:1 — AA Large Only
#CCCCCC on #FFFFFF
1.6:1 — Fail
WCAG vs APCA: What's the Difference?
WCAG 2.x uses a lightness ratio formula (relative luminance) that treats all text the same. APCA (Advanced Perceptual Contrast Algorithm) — the proposed method for WCAG 3.0 — accounts for font size, font weight, and polarity (light-on-dark vs dark-on-light), producing results that better match human perception. Our tool supports both standards:
WCAG 2.x
- • Simple ratio: L₁÷L₂
- • Same threshold regardless of font
- • AA: 4.5:1 normal / 3:1 large
- • Current legal standard worldwide
APCA (WCAG 3.0)
- • Perceptual model with font scaling
- • Accounts for font weight & size
- • Lc 75 = body text pass
- • Future standard, gaining adoption
Try our APCA Contrast Calculator for WCAG 3.0 readiness.
Features
- ✓ Instant WCAG AA/AAA check
- ✓ accessible color recommendations
- ✓ HEX, RGB, HSL support
- ✓ Real-time text preview
- ✓ APCA calculation (WCAG 3.0)
- ✓ PDF export for documentation
- ✓ Color picker with eyedropper
- ✓ 100% free — no sign-up