WCAG Contrast Checker
Test two colors for WCAG compliance. The tool uses sRGB → linear RGB and relative luminance math from WCAG 2.1, then suggests the nearest compliant variant by adjusting lightness.
Preview
Quick brown fox
The quick brown fox jumps over the lazy dog.
Adjust inputs and re-check to see contrast results.