Theme

Tools / Maths / 19 of 30

Contrast checker

Pick a text colour and a background, or type hex, rgb(), hsl() or a CSS colour name. It shows the WCAG 2.x ratio and whether it passes AA and AAA for normal text, large text and UI components. If it fails, it finds the nearest lightness of the same hue that passes.

Private by design: nothing is uploaded. The maths runs in your browser.