WhatIPIP tools + free calculators
Free tool, no signup

WCAG Color Contrast Checker (AA + AAA Compliance)

Check foreground / background contrast ratio against WCAG AA and AAA standards.

Sample text at standard 16px size (normal).

Sample text at 24px bold (large).

3.68 : 1
Contrast ratio
Fail · AA — Normal text
Requires 4.5:1
Pass · AA — Large text
Requires 3:1
Fail · AAA — Normal text
Requires 7:1
Fail · AAA — Large text
Requires 4.5:1
About this tool

Color contrast determines whether text is readable for users with low vision, color blindness, or in challenging viewing conditions. The WCAG (Web Content Accessibility Guidelines) define minimum contrast ratios for two compliance levels: AA (most legal requirements like the ADA in the US, EN 301 549 in the EU) and AAA (the higher bar, recommended where feasible). AA requires 4.5:1 contrast for normal text and 3:1 for large text (18pt+ or 14pt bold+); AAA requires 7:1 for normal and 4.5:1 for large. This tool computes the exact contrast ratio between any two colors and reports pass/fail for both standards at both text sizes. All math runs in your browser using the WCAG-defined relative luminance formula.

Frequently asked questions

4 questions answered

The relative luminance of the lighter color plus 0.05, divided by the relative luminance of the darker color plus 0.05. Pure white on pure black is 21:1. The WCAG-required minimum is 4.5:1 for AA-compliant normal text. The closer to 1:1, the harder text becomes to read. The tool computes this ratio exactly from the WCAG specification.

Related tools

This tool runs in your browser. We do not log or store the data you enter. Results are returned by your own browser and may not match third-party services bit-for-bit if those services interpret edge cases differently.