๐๏ธColor Blindness Simulator (WCAG Vision) Documentation & Guide
๐How to Test Palette Color Vision Safety
- Select Two HEX UI Colors: Enter or color-pick your Primary Accent and Secondary/Alert HEX colors.
- Run Vision Simulation: Click Simulate Vision to apply 3x3 sRGB color-vision deficiency matrices.
- Verify Distinction: Inspect all 4 simulated swatch pairs to ensure success vs danger cues stay visually distinct.
โ๏ธViรฉnot & Brettel Dichromatic Color Space Matricesโผ
Applies linear RGB dichromacy projection matrices per vision deficiency profile (~8% of males carry red-green Protanopia or Deuteranopia traits), revealing immediately when 'Green = OK' and 'Red = Error' collapse into identical muddy olive tones.
๐Formula & Mathematical Architectureโผ
๐งฎConcrete Worked Examplesโผ
Primary #10b981 vs Alert #ef4444Deuteranopia renders both near similar olive/gold shades (~#a89d72 vs #ad9e37)Demonstrates why accessible apps pair icons/labels with red-green alert colors!
Primary #043064 vs Alert #f59e0bMaintains dramatic dark-blue vs bright-yellow contrast across Protanopia and DeuteranopiaBlue + Amber pairs preserve high visual distinction across red-green color blindness.
โ ๏ธCommon Pitfalls & Edge Casesโผ
- โ ๏ธConveying success/error status solely with red vs green borders without โ/โ icons or text labels.
- โ ๏ธAssuming dark/light brightness contrast isn't affected by red-green cone insensitivity (Protanopia darkens deep reds noticeably).
- โ ๏ธIgnoring Achromatopsia completely when designing multi-line analytics charts.
๐กAccessible Design Reviewsโผ
- Auditing status badges, chart lines, and error banners before releasing UI themes.
- Ensuring color pairs still differentiate clearly even in grayscale Achromatopsia.