← Tools

How to Pick Accessible Colors for Your Website

📅 June 12, 2026  |  🏷️ Color Picker  |  ⏱️ 4 min read

About 1 in 12 men and 1 in 200 women have some form of color vision deficiency (color blindness). If your website doesn't have sufficient color contrast, millions of users can't read your content — and you may also fail legal accessibility requirements. Here's how to pick accessible colors the right way.

What Is WCAG Color Contrast?

The Web Content Accessibility Guidelines (WCAG) define minimum contrast ratios between text and background colors:

LevelNormal TextLarge Text (18px+ bold, 24px+)Compliance
AA (minimum)4.5:13:1Legal requirement in many countries
AAA (enhanced)7:14.5:1Best practice — target this when possible

Contrast Ratio Examples

Text ColorBackgroundContrastAA NormalAA Large
Black (#000)White (#fff)21:1✅ Pass✅ Pass
Dark gray (#666)White (#fff)5.7:1✅ Pass✅ Pass
Gray (#999)White (#fff)2.8:1❌ Fail❌ Fail
Light gray (#ccc)White (#fff)1.6:1❌ Fail❌ Fail
White (#fff)Purple (#7c3aed)6.3:1✅ Pass✅ Pass
White (#fff)Orange (#f59e0b)2.1:1❌ Fail❌ Fail
💡 Quick Test: Look at the white-on-orange example above. Can you read it easily? That's a 2.1:1 ratio — too low for any WCAG level. Now imagine 1 in 12 of your male users trying to read that all over your site.

How to Check Color Contrast (Free Tools)

  1. Online: Use the DevTools color picker and contrast checker. Pick your text and background colors, and it instantly calculates the contrast ratio and shows WCAG pass/fail.
  2. Browser DevTools: In Chrome, inspect an element → click on the color swatch in Styles panel → Chrome shows the contrast ratio and AA/AAA compliance.
  3. Dedicated tools: WebAIM Contrast Checker, Stark plugin for Figma/Sketch, axe DevTools browser extension.

Common Color Accessibility Mistakes

Accessible Color Palette Quick Rules

Check Your Colors Now — Free

Pick colors, check contrast ratios, see WCAG pass/fail instantly.

Open Color Picker →
← Back to DevTools Blog