Skip to content

Color Blindness

What It Does

Simulates how colors appear to people with different types of color blindness. This helps you check if your design token color palettes remain accessible and distinguishable for users with color vision deficiencies.

Inputs

NameDescriptionTypeRequired
colorThe color to simulate color blindness forColorNo
typeThe type of color blindness to simulateTextNo

Outputs

NameDescriptionType
valueThe color as it would appear to someone with the specified color blindnessColor

Color Blindness Example

How to Use It

  1. Drag the Color Blindness node into your graph.
  2. Connect a brand color token (like #0066CC) to the "color" input.
  3. Select a color blindness type (e.g., "protanopia" for red-blind vision) from the dropdown.
  4. The output will show how that color token appears to someone with that type of color vision deficiency.
  5. Connect this to a Contrast node with your background color to verify accessibility standards are met across all vision types.

See Also

  • Contrast: Tests the accessibility of text against background colors for WCAG compliance (see color/contrast.md).
  • Color Scale: Generates accessible color scales that maintain distinctiveness across vision types (see color/scale).
  • Deconstruct: Breaks down colors into components to modify after testing for color blindness (see color/deconstruct).
  • Blend: Helps adjust colors that have poor visibility in certain color blindness modes (see color/blend).

Use Cases

  • Design System Validation: Test your entire color token system to ensure sufficient contrast and distinguishability across all color blindness types.
  • Accessible Component Tokens: Verify that your UI component color tokens (buttons, alerts, form states) remain functionally distinct for all users.
  • Data Visualization Token System: Develop a specialized set of color tokens for charts and graphs that maintain information hierarchy for users with deuteranopia (the most common type).
  • Dark/Light Theme Testing: Verify that your theme token transitions maintain accessibility across vision types.