Accessible Contrast

Every text color passes WCAG AA on white.

≈ White
≈ Sapphire
≈ Firebrick

Color codes

HEXRGBHSLCMYK
hsl(0, 0%, 100%)cmyk(0%, 0%, 0%, 0%)
hsl(0, 0%, 10%)cmyk(0%, 0%, 0%, 90%)
hsl(213, 100%, 35%)cmyk(100%, 55%, 0%, 30%)
hsl(349, 100%, 35%)cmyk(0%, 100%, 82%, 31%)
hsl(152, 100%, 22%)cmyk(100%, 0%, 46%, 56%)

CSS

:root {
  --accessible-contrast-1: #FFFFFF;
  --accessible-contrast-2: #1A1A1A;
  --accessible-contrast-3: #0050B3;
  --accessible-contrast-4: #B00020;
  --accessible-contrast-5: #00703C;
}

How these colors work together

It pairs opposite hues on the color wheel for strong, lively contrast. Overall it reads cool. Lightness spans 90 points, which sets how much contrast you can create.

4 of 10 color pairs reach the 4.5:1 contrast needed for normal text. The most readable pair is ⁦#FFFFFF⁩ on ⁦#1A1A1A⁩ (17.40:1).

Accessible Contrast — readable text using the best pair.

Suggested applications

  • Website themes and design systems.
  • Interface themes: use the lightest color for backgrounds and the darkest for text.
  • Brand kits, social graphics and presentations.

#accessible#wcag#contrast

Check accessibility Simulate color blindness CSS variables

Frequently asked questions

How do I use the Accessible Contrast palette?
The Accessible Contrast palette has 5 colors. Use one dominant color for large areas, a supporting color for secondary elements and the most saturated color sparingly as an accent.
Which colors in this palette are best for text?
Use ⁦#FFFFFF⁩ on ⁦#1A1A1A⁩: it has a contrast ratio of 17.40:1.
Can I download this palette?
Yes. Export it as PNG, SVG, CSS variables, JSON or plain text with the buttons above the color table.

More palettes