ColorToolkits
Contrast & Preview

Color Contrast Checker

Check foreground and background contrast with WCAG 2.2 ratios and APCA readability scores, test translucent overlays, preview live UI cards, and fix failing shades in one click.

100%
WCAG 2.2 Contrast Ratio
17.89:1
Relative luminance: fg 0.0061 vs bg 0.9536
Perceptual APCA (WCAG 3 Draft)
Loading…
AA Normal Text
≥ 4.5:1
PASS
AA Large / UI
≥ 3.0:1
PASS
AAA Normal Text
≥ 7.0:1
PASS
AAA Large Text
≥ 4.5:1
PASS
Real-World Typography & UI Preview

Optical Legibility Specimen

Primary Action Button

14px Regular Body Copy: Good color contrast ensures effortless reading across bright daylight screens, tired eyes at night, and low-vision displays without sacrificing your visual identity.

24px Large Display Heading3:1 Non-Text Border Box

How to Use This Tool

  1. Pick or paste foreground text and background surface colors, or click Swap to invert polarity.
  2. Adjust foreground Alpha if checking semi-transparent captions, muted labels, or glassmorphic badges.
  3. If a pair fails AA (4.5:1) or AAA (7:1), click Auto-Fix to adjust foreground lightness in OKLCH cleanly.

Key Features

  • Real-time WCAG 2.1/2.2 pass/fail badges for Normal Text (4.5:1), Large Text (3:1), AAA (7:1), and UI Components (3:1)
  • Perceptual APCA (Wcag3 candidate) Lc contrast readout with polarity detection and minimum font-size lookup
  • True foreground alpha transparency slider composited dynamically over your chosen background color
  • 1-Click Auto-Fix Lightness (OKLCH) binary-searches lightness while preserving brand hue and chroma until AA/AAA passes

Frequently Asked Questions

More Color Tools

View all tools →