March 26, 20265 min read

Color Blindness Simulator

Simulate how your design looks with different types of color blindness. Check your UI for deuteranopia, protanopia, tritanopia, and achromatopsia.

accessibility color blindness design simulation calchub
Ad 336x280

Around 8% of men and 0.5% of women have some form of color vision deficiency. For a product with a million users, that's potentially 40,000+ people who see your color-coded interface differently than you designed it. The frustrating part is that color blindness is invisible during design review — no one in your team may have it, and the issue only surfaces when users start complaining about the "error indicator" that they can't distinguish from the "success indicator."

Types of Color Vision Deficiency

TypeAffected ConePrevalenceWhat They Can't Distinguish
DeuteranopiaGreen (M-cone)5% of menRed vs. green
ProtanopiaRed (L-cone)1% of menRed vs. green (reds appear very dark)
DeuteranomalyGreen (reduced)5% of menLike deuteranopia, milder
ProtanomalyRed (reduced)1% of menLike protanopia, milder
TritanopiaBlue (S-cone)0.003%Blue vs. green / yellow vs. purple
AchromatopsiaAll cones0.003%Complete color blindness (rare)
Deuteranopia and protanopia together cover ~6% of male users. If your UI uses red-green distinctions to communicate state (pass/fail, safe/danger), this is a significant usability problem.

Using the Simulator

At CalcHub, the Color Blindness Simulator accepts:

  1. Color swatch input — enter your design's key colors and see them simulated side by side
  2. Screenshot upload — upload a screenshot of your UI and view it through each simulation filter
  3. URL fetch — enter a URL and simulate the page directly in the browser
For each simulation, it applies a mathematically accurate color transformation matrix derived from the Machado, Oliveira & Fernandes model — the current standard for accurate simulation.

Real Problem: Status Indicators

A common UI pattern that fails for color blind users:

StatusDesigner's colorDeuteranopia perception
SuccessGreen (#22C55E)Olive/yellow-brown
ErrorRed (#EF4444)Similar olive/brown
WarningYellow (#F59E0B)Very similar to success
InfoBlue (#3B82F6)Blue (distinguishable)
In deuteranopia, success, error, and warning look like variations of the same brownish color. A user trying to find an error in a list of mixed-status items simply can't do it with color alone. The fix: Add a shape or text indicator alongside color. A checkmark icon, X icon, or the words "Success" / "Error" / "Warning" as labels mean the UI works regardless of color perception.

Designing for Color Blindness

Never rely on red-green alone. This is the most common failure. If something being red means "stop" or "error," you need a second visual cue — an icon, a border, a text label, or a pattern. Use blue-orange as your contrast pair. Blue and orange are distinguishable by all common color blindness types. This is why sports teams and data visualizations increasingly use this combination instead of red-green. Check your data visualizations. Charts and graphs using multiple line or bar colors are particularly problematic. A line chart with 4 lines differentiated only by red, green, orange, and blue loses two lines for deuteranopes. Use distinct line patterns (solid, dashed, dotted) alongside colors. Colorbrewer2.org palettes are designed to be color-blind safe and are the standard for data visualization. The CalcHub simulator can check whether a palette is color-blind safe across all deficiency types.
Good PairWhy It Works
Blue + OrangeDistinguishable across all common types
Blue + RedWorks well for most (avoid if protanopia concern)
Purple + YellowStrong and distinguishable
Teal + PinkModern alternative to blue/red

Tips

  • The simulator isn't a substitute for real feedback. If you can get feedback from actual color blind users, prioritize that over simulation. Simulations are an approximation.
  • Browser extensions for real-time testing. Colorblindly (Chrome extension) applies simulation overlays as you browse, making it easy to spot-check live sites.
  • Severity varies. Dichromacy (complete loss of one cone type) is what the simulator shows. Anomalous trichromacy (reduced function) is more common and less severe. Your design passing the dichromatic simulation gives reasonable confidence for the broader anomalous trichromacy population.

Is designing for color blindness the same as WCAG compliance?

No. WCAG contrast ratio checks cover luminance contrast but don't test color discrimination. You can have passing contrast ratios and still have a color-blindness problem. Both checks are necessary.

How do I make my charts color-blind accessible?

Use patterns or textures alongside colors for filled areas. For lines, use different dash patterns. Label data directly when possible instead of relying on a legend. Use a color-blind safe palette from ColorBrewer or Vega's schemes. The CalcHub simulator can check any color set you input.

What about dark mode — do the same rules apply?

Yes, and dark mode can introduce new color blindness issues. Red text on a dark background, which looks red-on-dark to normal vision, might appear brown-on-dark to a deuteranope with even less contrast. Test both light and dark modes separately.

Ad 728x90