How to Simulate Color Blindness in Your Designs
Who has color-vision deficiency (about 8% of men of European descent, per a PubMed-indexed review), and which interface color pairs fail under simulation: red/green status colors collapse for deutan vision, blue/orange never does.
Who Is Affected
Inherited red-green color deficiency is the common kind. A PubMed-indexed review of large population surveys (Birch, 2012) puts it at about 8% of men and 0.4% of women of European descent, and 4-6.5% of men of Chinese and Japanese descent. Within it, protan types (reduced or missing long-wavelength "red" cones) and deutan types (the "green" cones) range from mild anomalous trichromacy to dichromacy; blue-yellow (tritan) deficiency and total color blindness are rare.
Which Color Pairs Fail: Measured
We put common interface color pairs through simulations of the full (dichromatic) forms using the coloraide library: Machado et al.'s 2009 model for protan and deutan, Brettel et al.'s 1997 model for tritan. The numbers are CIEDE2000 differences between the two colors; below about 5 they are hard to tell apart at a glance, above about 20 they are clearly different (October 13, 2026; script in our test folder).
| Pair | Normal vision | Protan | Deutan | Tritan |
|---|---|---|---|---|
| Tailwind red-500 / green-500 (status colors) | 80.0 | 28.2 | 8.4 | 65.5 |
| Pure red / green (#FF0000 / #00AA00) | 76.5 | 23.4 | 4.2 | 61.3 |
| Green / brown chart series | 40.0 | 24.0 | 16.3 | 40.2 |
| Blue / purple (#3B82F6 / #8B5CF6) | 18.4 | 6.6 | 2.0 | 14.8 |
| Yellow / lime (#FACC15 / #A3E635) | 23.8 | 3.1 | 3.0 | 33.7 |
| Blue / orange (#2563EB / #F97316) | 55.2 | 61.9 | 69.1 | 70.2 |
Red against green, the default for error and success, collapses for deutan vision (4.2 for the pure colors), which is the most common type. Blue against purple and yellow against lime become near-identical for both red-green types. Blue against orange stays far apart for every type, which is why it is the usual safe pairing for two-series charts.
Fixing It
- Never let color be the only signal. WCAG 2.2 success criterion 1.4.1 requires another cue: an icon, a text label, a pattern, or a line style.
- For links in body text, keep an underline, or a 3:1 contrast with the surrounding text plus a non-color cue on hover and focus.
- In charts, label series directly instead of relying on a legend matched by color, and vary line style or marker shape.
- Prefer pairs such as blue/orange, and vary lightness between series so they separate even in greyscale.
Testing Your Designs
The Color Blindness Simulator applies the Machado 2009 matrices (in linear sRGB, matching colorspacious to within 0.5/255 in our tests) to an uploaded screenshot or design, for protan, deutan and tritan at adjustable severity, plus greyscale. Chrome and Edge DevTools can also emulate vision deficiencies on a live page (Rendering panel). Simulation shows what changes for an average dichromat; it does not replace testing with people who have color-vision deficiencies.
Frequently Asked Questions
How common is color blindness?
How do I test for color blindness in my design?
What colors are safe for color-blind users?
Use the Color Blindness Simulator โ free, no signup required.
โก Open Color Blindness Simulator- [1]Birch, Worldwide prevalence of red-green color deficiency, J Opt Soc Am A 29(3):313-20 (2012), via PubMed โ
- [2]Machado, Oliveira & Fernandes, A physiologically-based model for simulation of color vision deficiency, IEEE TVCG 15(6) (2009) โ
- [3]Brettel, Viรฉnot & Mollon, Computerized simulation of color appearance for dichromats, JOSA A 14(10) (1997) โ
- [4]W3C, Understanding WCAG 2.2 SC 1.4.1 Use of Color โ
- [5]coloraide, colour-vision-deficiency filters โ
