Color Palette & WCAG Contrast Checker

Test text colors, check WCAG 2.1 AA/AAA and build palette combinations — without an upload.

Accessible color preview

The quick brown fox jumps over the lazy dog.

A readable interface uses good contrast and clear structure.

Contrast result

14.68:1

AA Normal

Pass

AA Large

Pass

AAA Normal

Pass

AAA Large

Pass

Compliance is evaluated using the full-precision ratio, not the rounded display. This tool checks WCAG 2.1 text contrast only.

Text color

#1F2937

rgb(31, 41, 55)

hsl(215, 28%, 17%)

Background color

#FFFFFF

rgb(255, 255, 255)

hsl(0, 0%, 100%)

Palette generator

Results are calculated locally. Confirm your design under actual font sizes, weights and usage conditions; passing a color ratio does not certify an entire website.

How to use the Color Palette & Contrast Checker

  1. 1

    Enter foreground and background HEX colors.

  2. 2

    Read the contrast ratio and the AA/AAA results.

  3. 3

    Choose a color harmony, preview swatches and copy their HEX codes.

Frequently asked questions

Related tools