Contrast Checker

What Is a Color Contrast Checker?

A color contrast checker measures the contrast ratio between two colors to determine if text will be readable against its background. This is essential for meeting WCAG (Web Content Accessibility Guidelines) — the international standard for web accessibility. Poor contrast makes content unreadable for millions of users with low vision or color deficiencies.

This tool calculates the contrast ratio in real time, tells you whether your color combination passes WCAG AA and AAA standards for both normal and large text, and lets you fine-tune colors until they meet accessibility requirements.

WCAG Contrast Requirements

LevelNormal TextLarge Text
AA (minimum)4.5 : 13 : 1
AAA (enhanced)7 : 14.5 : 1

Tips for Accessible Color Choices

How to Use This Contrast Checker

  1. Enter your foreground color — Paste the hex code or pick the text color you're using.
  2. Enter your background color — Paste the hex code or pick the background color behind the text.
  3. Read the contrast ratio — The tool calculates the WCAG contrast ratio and shows whether your combination passes AA and AAA standards for both normal and large text.
  4. Adjust until you pass — If your colors fail, adjust the lightness of either color until the ratio meets your target level.

Tips and Best Practices

See also: After generating a dark theme, the Dark Mode Generator validates that each colour pair still meets WCAG contrast.

Related tools

Frequently Asked Questions

What is WCAG color contrast?
WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios between text and background colors. Level AA requires 4.5:1 for normal text and 3:1 for large text. Level AAA requires 7:1 for normal text and 4.5:1 for large text.
What is a good contrast ratio?
A contrast ratio of 4.5:1 or higher meets WCAG AA standards for normal text. For large text (18px+ bold or 24px+ regular), 3:1 is sufficient. Aim for 7:1 or higher for maximum accessibility.
How is contrast ratio calculated?
Contrast ratio uses the relative luminance of two colors with the formula (L1 + 0.05) / (L2 + 0.05). The result ranges from 1:1 (no contrast) to 21:1 (maximum contrast, black on white).

📖 Learn More

Related Article Color Contrast & WCAG Accessibility Guide →
What is a good contrast ratio for text?+
WCAG 2.1 Level AA requires 4.5:1 for normal text and 3:1 for large text. Level AAA requires 7:1 for normal text and 4.5:1 for large text. For the best readability, aim for at least 7:1. Pure black on white is 21:1 — the maximum possible contrast.
What is the WCAG contrast standard?+
WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios between text and background colors. These standards ensure text is readable by people with low vision, color blindness, or those viewing screens in challenging lighting conditions. WCAG compliance is legally required in many jurisdictions.

📖 Learn More

Related Article How to Check Color Contrast for WCAG →

Built by Derek Giordano · Part of Ultimate Design Tools

Privacy Policy · Terms of Service