Contrast Checker

Test color contrast ratio against WCAG 2.1 AA and AAA accessibility compliance standards.

Large text sample (18pt+)

Body text sample at 14px / 1em — this is how it actually looks.

Input text preview for WCAG contrast compliance testing

21.00:1
Contrast ratio
WCAG AA✓ Pass
Large text (18pt+)
Minimum: 3:1
WCAG AA✓ Pass
Body text
Minimum: 4.5:1
WCAG AAA✓ Pass
Large text (18pt+)
Minimum: 4.5:1
WCAG AAA✓ Pass
Body text
Minimum: 7:1

Common color pairs

About WCAG Contrast Checker — Detailed Guide

Category: Color & Design 100% Browser-Local

The WCAG Contrast Checker evaluates color contrast ratios between foreground text and background elements in strict accordance with the Web Content Accessibility Guidelines (WCAG 2.1), ranging from 1:1 to 21:1.

It automatically audits compliance for normal text, large headings (18pt+ or 14pt bold), and UI graphical components against WCAG AA and AAA thresholds, providing real-time compliance badges and lightness adjustments.

#wcag #contrast #accessibility #color

Key Features & Capabilities

  • Accurately calculates contrast ratios from 1:1 to 21:1 based on WCAG 2.1 relative luminance
  • Clear AA and AAA pass/fail compliance badges for regular body text, large text, and UI icons
  • Live typography preview showing real text readability across font sizes and weights
  • Lightness nudge controls to auto-adjust non-compliant colors to the closest passing threshold

How to Use

  1. 1

    Select or paste your foreground text color and background color.

  2. 2

    Review the calculated contrast ratio (e.g. 4.65:1) and the AA/AAA compliance ratings.

  3. 3

    If failing, use the luminance adjustment controls until the badges turn green.

Common Use Cases

  • → Auditing subtle gray placeholder text and muted labels against light backgrounds
  • → Ensuring compliance with ADA, Section 508, and European EN 301 549 legal standards
  • → Validating brand design systems to guarantee legible typography before engineering handoff

Related Tools

Frequently Asked Questions & Privacy

What contrast ratio is required to pass WCAG 2.1 Level AA?

Level AA requires a minimum contrast ratio of 4.5:1 for regular text and 3:1 for large text (18pt+ or 14pt bold) and essential graphical interface components.

What is the stricter Level AAA requirement?

Level AAA mandates a minimum contrast ratio of 7:1 for normal body text and 4.5:1 for large text.