Color Contrast Checker
Check the WCAG contrast ratio between a foreground and background color, and see whether it passes AA/AAA accessibility standards.
See how your color palette looks to people with protanopia, deuteranopia, tritanopia, their milder anomalous forms, and achromatopsia. Uses the Machado et al. (2009) model in linear RGB.
Enter HEX colors, one per line (commas or spaces also work).
Click any HEX value to copy it.
Normal vision
Trichromacy
Protanopia
No red cones (~1% of males)
Deuteranopia
No green cones (~1% of males)
Tritanopia
No blue cones (very rare)
Protanomaly
Weak red cones (~1% of males)
Deuteranomaly
Weak green cones (~5% of males)
Tritanomaly
Weak blue cones (rare)
Achromatopsia
No color perception (very rare)
Colors are converted to linear RGB, multiplied by the physiologically based matrices from Machado, Oliveira & Fernandes (2009), then converted back to sRGB. Anomalous trichromacies are shown at 60% severity. Results are approximations — individual perception varies.
Check the WCAG contrast ratio between a foreground and background color, and see whether it passes AA/AAA accessibility standards.
Convert between HEX, RGB, HSL, and CMYK color formats
Extract the dominant color palette from any image with HEX, RGB, HSL, and percentage share
Mix colors to create custom color combinations