Color ToolsBrowser-based calculationInstant output

Color Contrast Checker – WCAG AA & AAA Legibility Calculator

Low-contrast typography—like light gray text on a pastel background or white text over bright yellow—is hard to read on screen and even harder to read on printed paper under dim indoor lighting. Enter any foreground and background HEX colors to compute the exact relative luminance contrast ratio and WCAG AA/AAA ratings for normal and large text.

Foreground & Background Colors

Check WCAG 2.1 luminance contrast ratio for editorial print and digital legibility.

Luminance Contrast RatioAAA (Excellent)
17.1 : 1
Normal Text AA (≥ 4.5:1)
PASS
Normal Text AAA (≥ 7.0:1)
PASS
Large Text AA (≥ 3.0:1)
PASS
Large Text AAA (≥ 4.5:1)
PASS
Large Headline Specimen (18pt+ / 24px+) — Passes AA

Normal body text specimen (9–11pt print / 16px screen). High luminance contrast ensures comfortable reading across coated and uncoated paper stocks as well as digital displays.

WCAG 2.1 Relative Luminance Contrast Formula

Contrast Ratio = (L_lighter + 0.05) ÷ (L_darker + 0.05)

Where Relative Luminance L = 0.2126 × R_lin + 0.7152 × G_lin + 0.0722 × B_lin after gamma expansion. Pure black on pure white yields the maximum 21 : 1 contrast ratio.

How to Use This Calculator

  1. Enter or pick your Foreground (text) HEX color and Background HEX color.
  2. Use the Swap button to test inverted combinations.
  3. Review the contrast ratio (from 1:1 to 21:1), WCAG Normal Text and Large Text pass/fail statuses, and live specimen preview.

Worked Example: Checking Slate Gray Text (#334155) on Off-White Paper (#FAFAFA)

You want to verify that dark slate body copy (#334155) on an off-white background (#FAFAFA) exceeds AAA contrast.

1. Relative luminance of #FAFAFA = 0.956
2. Relative luminance of #334155 = 0.051
3. Contrast Ratio = (0.956 + 0.05) ÷ (0.051 + 0.05) = 1.006 ÷ 0.101 = 9.9 : 1
Final Output: 9.9 : 1 Contrast Ratio — Passes WCAG AAA for both Normal and Large text

When Designers Use the Color Contrast Checker

Used when choosing typography colors for brochures, packaging nutrition panels, wayfinding signage, Accessible PDF documents, and web interfaces.

Practical Prepress & Design Advice

  • • In print design, paper never reaches the 100% luminance of a backlit monitor—uncoated and recycled papers have lower reflectance, so aiming for at least 7:1 (AAA) contrast for small body copy (< 9 pt) ensures effortless reading.
  • • Never rely solely on hue difference (like red text on a green background of equal brightness); luminance contrast is what the human eye uses to resolve sharp letterforms.

Common Mistakes to Avoid

  • • Setting 8 pt light-weight white text over a warm yellow or light cyan background (which often has a contrast ratio below 1.8:1 and becomes nearly invisible on press).

Color Contrast Checker – Frequently Asked Questions

WCAG Level AA requires a minimum contrast ratio of 4.5 : 1 for normal text and 3.0 : 1 for large text (18 pt+ or 14 pt+ bold). Level AAA—recommended for long-form editorial reading and small print—requires 7.0 : 1 for normal text and 4.5 : 1 for large text.

Yes. Public-sector brochures, healthcare leaflets, pharmaceutical packaging, transit signage, and PDF/UA accessible documents all rely on luminance contrast thresholds so readers with low vision or presbyopia can read comfortably.

Large text is defined as 18 pt (24 px) and larger for regular weight, or 14 pt (approx. 18.66 px) and larger for bold weight (700+).

Related Print & Design Calculators

View all 40 tools →
Color Tools

HEX to RGB Converter

Convert 3-digit or 6-digit hexadecimal color codes (#RRGGBB) into RGB values (0–255) and CSS syntax.

Color Tools

RGB to HEX Converter

Convert Red, Green, and Blue (0–255) color channel values into a 6-digit hexadecimal color code.

Color Tools

HEX Color Mixer

Blend any two HEX colors and generate intermediate 10%, 25%, 50%, 75%, and 90% color swatches.

Connected Print & Prepress Entities for Color Contrast Checker

Explore related mathematical concepts, ISO standards, and prepress calculators.

Color Tools Hub →

Relative luminance ratio (1:1 to 21:1) governing accessible text legibility under WCAG 2.1 AA and AAA.

Six-digit hexadecimal representation of sRGB color channels used in CSS, SVG, and UI design.

Desktop publishing PostScript point equal to exactly 1/72 of an international inch (0.3528 mm).

Subtractive four-color process printing model using Cyan, Magenta, Yellow, and Key (Black) inks.

Additive digital light model combining Red, Green, and Blue channels from 0 to 255.