Skip to main content

Contrast Checker

Measure text and background colors against WCAG AA and AAA ratios, with color-blindness previews.

Runs in your browser. Your input isn't uploaded.Last updated: September 2026see changelog

About this tool

A visual accessibility checker that evaluates color combinations against WCAG 2.1 standards. Calculates real-time contrast ratios using the W3C relative luminance formula, displays a live compliance matrix for AA/AAA normal/large text and UI elements, provides color blindness simulations (protan, deutan, tritan, achroma), and suggests accessible foreground alternatives when contrast fails.

Color contrast is the most common accessibility failure on the web. This tool runs entirely in your browser — no uploads, no tracking — giving you instant, accurate compliance checks while you design.

Key capabilities

  • Real-time contrast ratio using WCAG 2.1 relative luminance formula
  • WCAG 2.1 AA/AAA compliance matrix: normal text, large text, UI elements
  • Live text size reference showing 16px/18px/24px at correct thresholds
  • Color blindness simulations: protanopia, deuteranopia, tritanopia, achromatopsia
  • Automatic accessible color suggestion (adjusts foreground to meet 4.5:1)
  • Brand palette presets for quick testing
  • Copy HEX values for foreground, background, or both

Related Tools

Browse all CSS Tools