Color blindness simulator

Type a palette or drop in an image to see it as people with different types of color vision deficiency may see it. Pairs of colors that become hard to tell apart are listed.

Palette under each simulation

Hard-to-tell-apart pairs

Image

The image is read and processed on a canvas in your browser. It is never uploaded. Images over 2,000 pixels on the long side are scaled down for speed.

How to use the color blindness simulator

  1. Type or paste up to 12 colors into Palette, one per line or separated by commas, or click Load sample palette.
  2. Read the table: each row is one of your colors, and each column shows it under one simulation, with its HEX value.
  3. Move the Severity slider to set how strong the protanomaly, deuteranomaly and tritanomaly columns are. Protanopia, deuteranopia and tritanopia always show full strength.
  4. Check Hard-to-tell-apart pairs for colors that become too similar, and change one of each pair.
  5. To test an image, choose a file, drop it on the box, or paste it. Pick a Simulation to compare it with the original.
  6. Click Download simulated PNG to save the simulated image.

What it simulates

Most color vision deficiency comes from one of the three cone types in the eye being missing or working differently. When a cone type is missing, the condition is a dichromacy and its name ends in -opia. When it is present but its sensitivity is shifted, it is an anomalous trichromacy, ending in -anomaly, and it can be mild or strong.

SimulationCone affectedColors often confused
Protanopia, protanomalyL (long wavelength, "red")Red with green; reds also look darker
Deuteranopia, deuteranomalyM (medium wavelength, "green")Red with green
Tritanopia, tritanomalyS (short wavelength, "blue")Blue with green, yellow with pink or red
AchromatopsiaNo working cones, or only one typeAll hues; only lightness remains

How common it is

The US National Eye Institute says about 1 in 12 men have color vision deficiency, that men are at much higher risk than women, and that red-green types are the most common, with deuteranomaly the most common red-green type. A review of large population surveys (Birch, 2012) puts inherited red-green deficiency at about 8% of men and about 0.4% of women of European descent, and between 4% and 6.5% of men of Chinese and Japanese descent. Complete color blindness (achromatopsia) is rare.

How the simulation works

The tool uses the model of Machado, Oliveira and Fernandes (2009), which describes each deficiency as one 3×3 matrix applied to an RGB color. The authors publish matrices for protan, deutan and tritan types at severities from 0.0 to 1.0 in steps of 0.1, where 1.0 is dichromacy; for protan and deutan types, 1.0 corresponds to a 20 nm shift of the affected cone's peak sensitivity. For a severity between two steps, such as 0.65, the tool blends the two nearest matrices, the shortcut the authors describe.

Each color is first converted from sRGB to linear light, multiplied by the matrix, clipped to the 0 to 1 range and converted back to sRGB. Each matrix row adds up to 1, so white, black and grays stay the same. Achromatopsia is shown as the gray with the same WCAG relative luminance as the original.

These are approximations. Real color vision varies from person to person, the matrices model an average observer, and achromatopsia in particular relies on rod cells, whose sensitivity differs from the luminance formula used here. Use the results to spot likely problems, not as an exact picture of what someone sees.

How clashing pairs are found

For every pair of colors, the tool measures the difference before and after simulation with deltaE OK, the straight-line distance in the OKLab color space. CSS Color 4 treats 0.02 as one just noticeable difference when it maps colors into a gamut, but that is for two colors side by side. Small chart markers, lines and legend keys seen apart need a clearer gap, so this tool flags pairs that were at least 0.05 apart before simulation (two and a half times that threshold) and fall below 0.05 after it. Pairs that are already that close with normal vision are listed separately.

Worked example

The sample palette includes a status red #d64545 and a success green #2e9e4f. With normal vision their deltaE OK is 0.297, a very clear difference.

Under deuteranomaly the gap shrinks steadily as severity rises: 0.192 at 0.2, 0.118 at 0.4, 0.070 at 0.6, 0.035 at 0.8 and 0.022 at 1.0.

Common mistakes

Key terms

Color vision deficiency
Reduced ability to tell some colors apart, usually inherited and caused by one type of cone cell in the eye being missing or working differently. Often called color blindness, though most people with it still see many colors.
Dichromacy
Color vision with only two working cone types instead of three. The forms are protanopia, deuteranopia and tritanopia, missing the long-, medium- or short-wavelength cones.
Anomalous trichromacy
Color vision with all three cone types, one of which has shifted sensitivity. The forms are protanomaly, deuteranomaly and tritanomaly, and severity ranges from mild to close to dichromacy.
Achromatopsia
Complete or near-complete absence of color vision, also called monochromacy. It is rare and can also reduce sharpness of vision and increase sensitivity to light.
Deuteranomaly
The most common color vision deficiency: the medium-wavelength (green) cones are shifted toward red, so some greens look redder and red-green pairs become harder to tell apart.
Simulation severity
In the Machado model, a value from 0 (normal vision) to 1 (dichromacy) for how strongly an anomalous cone is shifted. For protan and deutan types, severity 1.0 corresponds to a 20 nm shift of the cone's peak sensitivity.
deltaE OK
The straight-line distance between two colors in OKLab. A value of 0 means identical. CSS Color 4 uses it for gamut mapping and treats 0.02 as a just-noticeable difference.
Linear light
Color values proportional to the amount of light, before the sRGB transfer curve (gamma) is applied. Mixing and matrix operations on colors are most physically accurate in linear light, and this tool applies the simulation matrices there.

Frequently asked questions

Can I use it as a colorblind filter for images?
Yes. Open an image, choose a type such as deuteranopia, and the simulated version appears beside the original. Download PNG saves the filtered image, which is created in your browser.
Which type of color blindness is most common?
Red-green deficiency, and deuteranomaly in particular. The US National Eye Institute puts color vision deficiency at about 1 in 12 men; it is much rarer in women.
Is this exactly what a color blind person sees?
No. The simulation models an average observer and gives an approximation. Color vision differs between people with the same diagnosis.
What does the severity slider change?
Only the protanomaly, deuteranomaly and tritanomaly results. 0.1 is a very mild shift and 1.0 gives the same result as the corresponding -opia simulation.
Is my image uploaded when I download the simulated PNG?
No. It is decoded and processed on a canvas in your browser, and the download is created there too. Large images are scaled to 2,000 pixels on the long side first.
Why are grays and white unchanged?
Every row of the Machado matrices adds up to 1, so any color with equal red, green and blue stays exactly as it is.
Why is a pair flagged at 0.05 and not 0.02?
0.02 is the smallest difference you can see with two colors right next to each other. Colors in charts and interfaces are often small or apart, so the tool uses a wider margin.
How do I fix a flagged pair?
Change one color so the two differ more in lightness, which holds up under most types of deficiency, or add a second cue such as a label, icon, pattern or line style.

Sources: Machado, Oliveira and Fernandes (2009), simulation matrices, IEEE TVCG 15(6), National Eye Institute: color blindness, NEI: types of color vision deficiency, Birch (2012), Worldwide prevalence of red-green color deficiency, CSS Color 4 gamut mapping (JND 0.02). Last checked 2026-11-17.