Skip to content
👁

Color Blindness Simulator

Preview an image as someone with a colour vision deficiency sees it, and test whether a colour pair still reads as different. Runs in your browser.

Runs in your browser

Updated

Drop an image, or click to choose one. Logos, charts and status colours are the most revealing.

Test a colour pair

This is the check a contrast ratio cannot do. Two colours can pass WCAG contrast and still become indistinguishable to a dichromatic viewer.

What this does and does not tell you

This simulates colour vision, not colour contrast. Roughly 1 in 12 men and 1 in 200 women have some form of colour vision deficiency, and the most common is deuteranopia.

The simulation is an approximation using standard dichromacy matrices, good enough to catch a palette that will not work. It is not a substitute for testing with people, and it does not model anomalous trichromacy, which is the more common and milder form.

A pair scoring low here should be separated by something other than hue: an icon, a label, a border weight, or lightness.

What the page simulates

Five buttons select a vision mode, and the page opens with Deuteranopia active, not Normal. For the three dichromacy modes each pixel's channels are gamma-decoded to linear light, multiplied by a fixed 3x3 matrix (Machado-style approximations whose rows sum to one, so grey stays grey), then re-encoded. Achromatopsia skips the matrix and applies Rec. 601 luma weights directly to the 8-bit values, and Normal is the untouched image. The loaded picture is previewed fitted inside 1200 by 1200 pixels; Download re-renders at the original size as a PNG named after the mode.

A worked example

The pair tester ships with red 220,38,38 against green 22,163,74. Simulated separations are 54 for normal vision, 21 for protanopia, 12 for deuteranopia, 70 for tritanopia and 7 for achromatopsia. Rows score under 12 as indistinguishable in red, under 30 as hard to tell apart, and above that clearly different, so green and red here land in the amber band while achromatopsia fails outright. The summary notices the worst dichromacy sits exactly at the cutoff and reports the pair as still separable under every simulated deficiency, but not comfortably.

How the separation score is computed

Both colours are run through the chosen simulation, their straight-line distance in 8-bit RGB is divided by 441.673 (the diagonal of the colour cube), and the result is rounded to a whole number from 0 to 100. Two colours that collapse to one value therefore score 0.

Where it stops

  • It models full dichromacy; anomalous trichromacy, the milder and far more common condition, is outside the matrices.
  • The matrices approximate; a plane-projection method handles gamut edges better but the page deliberately uses the simpler transform.
  • Images larger than 12 MB are refused, and the on-screen preview is downscaled even though the download is not.
  • The score compares pure colours; it cannot see adjacency, labels or lighting in a real layout.

Questions people ask

Does passing WCAG contrast settle this?

No; that is the point of the tool. Two colours can clear a contrast ratio and still merge into one value under a dichromatic simulation.

What should I change when a pair scores low?

Separate the meanings with something other than hue: an icon, a text label, a border weight, or a clear lightness gap.

Follow up with the contrast checker for luminance ratios and normalise the palette with the colour converter.