Color Contrast Checker

Enter foreground and background as hex colors. Ratio uses WCAG 2 relative luminance (sRGB).

Sample text on background

The quick brown fox jumps over the lazy dog. 0123456789

Contrast ratio

Enter valid hex colors (e.g. #fff or #336699).