Contrast checker

Your workspaceProcessed on your device

Use a CSS color name, HEX, RGB/RGBA, or HSL/HSLA. Transparent colors are composited on the chosen canvas before calculation.

9.60:1WCAG 2.2 contrast ratio
UseMinimumResult
Normal text · AA4.5:1Pass
Normal text · AAA7:1Pass
Large text · AA3:1Pass
Large text · AAA4.5:1Pass
Essential UI and graphics · AA3:1Pass

Pass/fail uses the unrounded ratio. Large text means at least 24 CSS px, or about 18.67 CSS px when bold. UI contrast depends on the actual adjacent colors; this pair alone cannot establish full WCAG conformance.

Make every word easy to read.

Preview uses normal text thresholds. Effective background: #FFFFFF (rounded for display).

A few things to know.

Uses the WCAG sRGB relative-luminance calculation with unrounded ratios for pass/fail. Large text is at least 24 CSS pixels or about 18.67 pixels when bold. This checks a solid color pair; gradients, images, actual font rendering, adjacent UI colors, and full accessibility conformance require separate review.

  1. Enter text and background colors as CSS color names, HEX, RGB, or HSL.
  2. Choose the opaque canvas behind transparent colors, then review the contrast results.
  3. Preview normal or large text, swap colors, and copy or download the report.