🎨
Contrast Ratio Calculator
Calculate WCAG contrast ratio and accessibility compliance
Formula: $\text{Contrast Ratio} = \frac{L_1 + 0.05}{L_2 + 0.05}$ (where $L_1$ is the relative luminance of the lighter color and $L_2$ is of the darker color). Enter text and background colors below.
Color Selection
Calculation Results
⚠️ For educational and web accessibility design reference purposes only.