Free technology and media calculator

Color Contrast Ratio Calculator

Use this free color contrast ratio calculator to calculate a clear estimate from values you enter.

Open the interactive color contrast ratio calculator

Free tools and planners

Formula

Contrast ratio = (lighter relative luminance + 0.05) ÷ (darker relative luminance + 0.05). Enter luminance values from 0 to 1.

Worked example

Black luminance 0 against white luminance 1 gives the maximum 21:1 contrast ratio.

Assumptions and limitations

Estimate based on the entered values. Actual device, codec, network, and software behavior can differ.

Keep moving with a practical next step

Browse free calculators, planners, and templates, or explore the blog and business directory. No subscription is required.