Skip to main content
Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer

Color Contrast Ratio Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser โ€” no data is sent to any server.

Formula: Contrast Ratio = (L1 + 0.05) / (L2 + 0.05)

Your Result

Worked example โ€” Contrast ratio: 3.76:1 | AA Large Text: Pass | AA Normal Text: Fail (needs 4.5:1)

Reviewed for accuracy by Daniel Agrici, Founder & Lead Developer ยท Editorial policy