Enter two colors
Set the text and background colors with the pickers, or paste any HEX, RGB or HSL code.
Check any text and background color against WCAG 2 AA and AAA for normal text, large text and interface elements.
See the APCA score, preview real text and get the closest color that passes.
Loading the color picker…
Set the text and background colors with the pickers, or paste any HEX, RGB or HSL code.
The contrast ratio and pass or fail for each WCAG level appear instantly, with a live preview.
Click a suggested color to get the closest text color that passes AA or AAA.
Generate images and videos in your brand colors from a prompt with WaveSpeed AI.
Create illustrations, backgrounds and product shots in your colors.
Animate a still image into a short clip.
Turn a picture into a 3D model.
$1 in free credits for eligible new accounts. No card needed. Generators have separate account and credit requirements. The color picker is free.
WCAG 2 level AA asks for 4.5:1 for normal text and 3:1 for large text (24px, or 19px bold) and for interface elements. Level AAA asks for 7:1 and 4.5:1.
From the relative luminance of the two colors: (lighter + 0.05) ÷ (darker + 0.05). It ranges from 1:1 for identical colors to 21:1 for black on white.
The Accessible Perceptual Contrast Algorithm proposed for WCAG 3. It gives a lightness contrast (Lc) that accounts for which color is the text. It is shown alongside the WCAG 2 ratio.
Use a suggested color: it keeps your hue and changes lightness just enough to reach 4.5:1 or 7:1 against your background.
WCAG AA & AAA · APCA score included · Fix suggestions