Skip to content

Color Contrast Checker

Calculate WCAG 2 contrast for two opaque sRGB HEX colors and check AA/AAA text thresholds.

Input

Result

Type or paste on the left — the result updates as you type.

Normal text uses 4.5:1 for AA and 7:1 for AAA; large text uses 3:1 and 4.5:1. Alpha blending and font-size eligibility are not evaluated.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: