Enter two hex colors
Use three or six digits for one opaque foreground and background.
Normalize · calculate · review
ContrastCheck turns two opaque hex colors into relative luminance, a raw WCAG 2.x ratio and five clearly named threshold references in your browser.
No account, upload, CSS crawler, saved palette, remote fetch or conformance claim.
Three explicit steps
Use three or six digits for one opaque foreground and background.
The current W3C sRGB transfer and luminance weights stay deterministic.
Decide text category, states and adjacent colors outside the pair calculator.
Focused design arithmetic
One opaque pair · local calculation
Enter the foreground and background hex values to reproduce the raw WCAG 2.x ratio, five threshold references and a fixed preview without uploading either color.