Color Contrast Checker

Check color contrast ratios for WCAG 2.1 accessibility compliance. Test AA and AAA standards.

Sample Text Preview
21:1
Contrast Ratio
✓ Pass
WCAG AA (4.5:1)
✓ Pass
WCAG AAA (7:1)
✓ Pass
Large Text AA (3:1)

How to Use Color Contrast Checker

  1. Select or enter your foreground (text) color.
  2. Select or enter your background color.
  3. Review the calculated contrast ratio (e.g., 4.5:1, 7.1:1).
  4. Check the instant WCAG 2.1 Pass/Fail status for Normal Text, Large Text, and UI Components across Level AA and AAA.

Key Features

Calculates exact WCAG 2.1 contrast ratio from 1:1 to 21:1
Instant Pass/Fail badges for WCAG Level AA and AAA standards
Evaluates normal body text, large headings, and graphical UI components
Interactive text preview on actual background color
Color swap button to check reverse contrast combinations
One-click color suggestions to achieve accessible contrast

Web Accessibility (WCAG 2.1) Color Contrast Standards

Web Content Accessibility Guidelines (WCAG 2.1) require adequate color contrast between text and its background to ensure readability for users with low vision, color blindness, or situational impairments (such as viewing a smartphone in direct sunlight).

Official WCAG 2.1 Contrast Thresholds:

  • Level AA (Minimum Contrast): Requires at least 4.5:1 for normal body text and 3.0:1 for large text (18pt / 24px, or 14pt bold).
  • Level AAA (Enhanced Contrast): Requires at least 7.0:1 for normal body text and 4.5:1 for large text.
  • UI Components & Icons: Require a minimum ratio of 3.0:1 against adjacent background colors.

Frequently Asked Questions

Google Lighthouse and standard web compliance regulations (ADA / Section 508) require websites to meet at least WCAG Level AA (4.5:1 for normal text).

Large text is defined as at least 18pt (24px) regular weight, or at least 14pt (approximately 18.66px) bold weight.

Yes. Pure black (#000000) on pure white (#FFFFFF) provides the maximum possible contrast ratio of 21:1, passing Level AAA with flying colors.