HomeDev Lab ToolsColor Contrast Checker
Accessibility Analysis

WCAG 2.1 Color Contrast Checker

Test foreground and background color combinations against the W3C Web Content Accessibility Guidelines. Evaluate AA and AAA compliance for normal text, large headings, and UI components with real-time visual rendering.

100% Client-Side Privacy: All color conversions and luminance calculations run in your browser.
Presets:

Color Inputs

Select foreground and background hex values to compute the sRGB relative luminance contrast ratio.

Calculated Contrast Ratio
8.60 : 1

Excellent contrast. Exceeds WCAG AAA requirements for all text sizes.

WCAG 2.1 Contrast Thresholds

Normal Text (AA)
Req: 4.5:1
PASS
Normal Text (AAA)
Req: 7.0:1
PASS
Large Text (AA)
Req: 3.0:1 (18pt / 14pt bold)
PASS
Large Text (AAA)
Req: 4.5:1
PASS
Graphical Objects & UI Components
Req: 3.0:1 (Icons, borders, input controls)
PASS

Live Visual Rendering Sandbox

Preview how headings, body text, badges and buttons appear with your chosen colors.

Interactive Preview Badge

Large Display Heading (24px+)

This is regular 14px–16px body copy rendered on your chosen background surface. When evaluating typography, also consider ambient glare, mobile brightness and user eye strain.

Outlined Element

Important Accessibility Caveat

A passing contrast ratio is necessary, but does not describe a color pair as fully WCAG-compliant on its own. Complete accessibility also requires readable font sizes, adequate line spacing, focus indicators, keyboard access, screen-reader semantics, and avoiding color as the sole conveyor of information.

Understanding WCAG Contrast Standards

Level AA (Minimum)

The international benchmark for public and commercial websites. Requires at least 4.5:1 for normal text and 3.0:1 for large text (18pt or 14pt bold).

Level AAA (Enhanced)

Intended for specialized readability, healthcare platforms, and high-legibility document portals. Demands 7.0:1 for standard text and 4.5:1 for large text.

Graphical Objects & UI

WCAG 2.1 added criterion 1.4.11 requiring 3:1 contrast for input borders, checkboxes, navigation icons and active focus rings against adjacent colors.

Need an enterprise accessibility audit or design system engineering?