Color Contrast Checker: WCAG 2.2 Guide for 2026

Blogaccessibility

Color Contrast Checker: WCAG 2.2 Guide for 2026

Color contrast failures account for over 80% of WCAG audit issues on typical websites. The fix is straightforward — but only if you know the exact ratios required and how to test them properly. Whether you're a designer, developer, or compliance officer, this guide gives you the complete picture for 2026.

What Is Color Contrast and Why Does WCAG Care?

Color contrast is the difference in luminance between foreground text and its background. Low contrast makes text nearly invisible for people with low vision, color blindness, or those using screens in bright sunlight — which covers an estimated 300+ million people worldwide.

WCAG 2.2 (Web Content Accessibility Guidelines, current standard) defines minimum contrast ratios as legally enforceable accessibility requirements in most countries. Failing contrast is not a minor issue — it's a barrier that directly excludes users.

WCAG 2.2 Required Contrast Ratios

There are two conformance levels that matter for most organizations:

Text TypeLevel AA (minimum)Level AAA (enhanced)
Normal text (under 18pt / 14pt bold)4.5:17:1
Large text (18pt+ / 14pt bold+)3:14.5:1
UI components and graphics3:1N/A
Decorative text / logosNo requirementNo requirement

Level AA is the legal baseline in the EU (European Accessibility Act, EN 301 549) and under US Section 508. Level AAA is aspirational but increasingly required by forward-thinking organizations.

A critical point often missed: the 3:1 ratio for UI components applies to buttons, form fields, focus indicators, and interactive icons — not just text. A grey button on a white background fails even if no text is involved.

How to Use a Color Contrast Checker

The mechanics are simple: input your foreground (text) and background colors in hex, RGB, or HSL format, and the tool returns the contrast ratio plus a pass/fail verdict for AA and AAA.

But the real-world usage requires more nuance. Here is the workflow used by accessibility professionals:

  1. Pick colors from the live page — not from the design file. Rendered colors can differ slightly due to browser rendering, opacity, and CSS inheritance.
  2. Test all state combinations — default, hover, focus, active, disabled. A button that passes in default state may fail on hover.
  3. Check non-text elements — icon contrast, border contrast on inputs, focus ring visibility.
  4. Test in context — a color that passes on a white background may fail over a background image or gradient.
  5. Document results — record the exact hex values tested, the ratio obtained, and the page/component name for your accessibility audit.

Use our free accessibility scanner to automatically detect color contrast failures across your entire page — it flags all WCAG 1.4.3 and 1.4.11 violations in one pass.

Best Free Color Contrast Checker Tools in 2026

Several excellent free tools exist. Here is a practical comparison:

ToolStrengthBest For
WebAIM Contrast CheckerSimple, authoritative, widely citedQuick manual checks
Accessible ColorsSuggests the nearest passing color automaticallyDesigners fixing failures fast
Colour Contrast Analyser (CCA)Desktop app, eyedropper tool, simulates color blindnessDeveloper/QA testing live screens
Chrome DevToolsBuilt-in, tests computed colors in contextDev workflow integration
Web Accessibility CheckerFull page scan, batch testing, audit reportsCompliance audits at scale

The Chrome DevTools approach deserves special mention: when you inspect an element, the color swatch in the Styles panel now shows the contrast ratio automatically. Clicking it opens a picker that highlights the "AA passing" and "AAA passing" zones — extremely useful during development.

Common Contrast Failures and How to Fix Them

After scanning thousands of websites, the same contrast patterns fail repeatedly:

Grey text on white backgrounds

The most common failure. A #767676 grey on white (#FFFFFF) gives exactly 4.54:1 — barely passing AA. But #808080 on white gives only 3.95:1, which fails. The fix: darken grey text to at least #767676 for normal text, or switch to #595959 for comfortable reading.

Light colored text on brand-colored backgrounds

Brand guidelines often specify a primary color for backgrounds. White text on a mid-range blue (#3B82F6) gives only 3.38:1 — failing AA for normal text. Darkening the background to #1D4ED8 brings white text to 7.2:1 (passes AAA).

Placeholder text in form fields

Placeholder text is often styled at 40-50% opacity. This almost always fails WCAG 1.4.3. Fix: use a concrete hex color of #767676 or darker, never rely on opacity for form placeholders.

Focus indicators

WCAG 2.2 introduced Success Criterion 2.4.11 (Focus Appearance, AA) requiring focus indicators to have at least 3:1 contrast against adjacent colors. Many default browser outlines — and the popular "outline: none" pattern — fail this criterion.

A comprehensive web accessibility audit will systematically identify all these failure patterns. Automated scanners catch roughly 30-40% of contrast issues; manual testing is needed for dynamic content, SVGs, and CSS-generated content.

Color Contrast and the European Accessibility Act 2025

The European Accessibility Act (EAA) entered enforcement in June 2025 — color contrast compliance is now a legal obligation for most digital products and services sold in the EU. The standard referenced is EN 301 549, which maps directly to WCAG 2.1 Level AA (and increasingly WCAG 2.2).

Non-compliance exposes businesses to fines that vary by member state. Under the EAA fines framework, some countries (Germany, Netherlands) have set maximum penalties exceeding €100,000 for systematic failures. For SaaS businesses, non-compliance can block sales in regulated sectors (banking, insurance, public services).

Building accessible color systems from the start costs a fraction of retrofitting. Integrating a contrast checker into your design system — as a Figma plugin, a CI/CD linting rule, or a manual step in your design review — prevents failures before they reach production.

Color Contrast in WCAG 3.0: What's Changing

WCAG 3.0 is expected to introduce a new contrast algorithm called APCA (Advanced Perceptual Contrast Algorithm), which is significantly more nuanced than the current relative luminance formula. APCA accounts for font size, weight, and polarity (dark-on-light vs light-on-dark) in a single continuous score.

APCA is already available in Chrome DevTools (experimental) and in dedicated tools like the WCAG 3.0 preparation guide on this site. It's not yet required by law, but progressive design teams are testing their palettes against it now to avoid future remediation costs.

Preguntas frecuentes

What contrast ratio is required for WCAG 2.2 AA?

Normal text requires 4.5:1. Large text (18pt+ or 14pt bold+) requires 3:1. UI components and graphical elements also require 3:1 minimum under Success Criterion 1.4.11.

Is there a free color contrast checker I can use?

Yes — WebAIM's Contrast Checker (webaim.org/resources/contrastchecker/), the Colour Contrast Analyser desktop app, Chrome DevTools built-in, and our free Web Accessibility Checker all provide WCAG contrast testing at no cost.

Does color contrast apply to images?

Text in images must meet the same 4.5:1 ratio as regular text. Pure decorative images and logos are exempt. Informational icons need 3:1 contrast against their background.

What is the minimum contrast for large text?

Large text — defined as 18pt (24px) regular or 14pt (approximately 18.67px) bold — requires a minimum 3:1 contrast ratio at WCAG AA level.

Does WCAG apply to mobile apps?

Yes. WCAG 2.2 principles apply to web content on mobile browsers. Native apps are increasingly governed by the same principles through platform-specific guidelines (Apple HIG, Material Design) and the EN 301 549 standard.

Try Our Free Color Contrast Checker

Test your color combinations against WCAG AA & AAA requirements instantly.

Check Color Contrast →