Skip to content
cosmodev ~/tools/color-blindness-simulator

Color-Blindness Simulator

Color & Design

See your palette through protanopia, deuteranopia, tritanopia, or achromatopsia at any severity. Simulated swatches sit beside the originals, and a contrast checker reports whether your text pair still passes WCAG AA after simulation.

Try:
Vision type
100%
Palette
  • #e63946→ #6c6545
  • #f1faee→ #fbf8ed
  • #a8dadc→ #d3d5dc
  • #457b9d→ #6b7a9f
  • #1d3557→ #263758

What it does

Shows your palette through four kinds of color-vision deficiency — protanopia (no red), deuteranopia (no green), tritanopia (no blue), and achromatopsia (no color) — at any severity from mild to full. Simulated swatches render beside the originals, and a contrast checker reports whether your text/background pair still passes WCAG AA (4.5:1) after simulation — catching the red-on-red failures that a normal-vision check calls safe. Everything runs locally in your browser.

How to use it

  1. Pick a Vision type and drag Severity (100% is full dichromacy; 50% models partial deficiency).
  2. Edit the palette: each row has a color swatch, its hex, and the hex it becomes; Add color and Remove manage the set (up to 8).
  3. Watch the Simulated palette grid on the right — top swatches are the simulated colors, the small codes below are their hexes.
  4. Set the Contrast check pair (foreground/background swatches). The badge shows both ratios: after sim and normal.

Examples

The Traffic light chip at Protanopia 100%: the red and green collapse toward the same yellow-brown — the classic case where #ff0000 vs #00c853 stops being distinguishable.

The Status colors chip with white text on #16a34a (green): at Deuteranopia 100% the after-sim contrast can drop below 4.5:1 — the badge flips and the warning appears.

Severity 0% on any kind is the identity: every swatch unchanged, ratios equal to normal.

Good to know

  • The simulation applies Viénot/Brettel-style matrices in linear RGB, the standard accessibility-tooling approximation — indicative, not a clinical model of any individual’s vision.
  • Severity blends between identity and the full matrix in linear light, so mid-severity is physically meaningful.
  • ~8% of men and ~0.5% of women have some form of color-vision deficiency; red-green (protan/deutan) is by far the most common.
  • Never rely on color alone: pair this check with shapes, labels, or patterns.
Source code2 languages
cosmodev ~/src/color-blindness-simulator

100% client-side · your data never leaves your browser. Found this useful? Share it with a teammate.