Accessible Contrast
Every text color passes WCAG AA on white.
Color codes
| HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|
| 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.
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
SaaS Dashboard#0F172A #1E293B #6366F1 #10B981 #F8FAFCWarm E-commerce#FFF7ED #FED7AA #EA580C #7C2D12 #1C1917Clean Blog#FFFFFF #F3F4F6 #374151 #111827 #2563EBOld Map#F4E9CD #C9B37E #8C7851 #5A4A32 #2F4858Denim Days#F1F1EE #C8D3E0 #6C8EBF #2F4F7F #1A2238Modern Consulting#14213D #FCA311 #E5E5E5 #FFFFFF #000000