Contrast checker

Check colour contrast against WCAG (AA/AAA) and get suggested colours that pass.

Hex, rgb(), hsl() or names like "navy"; text transparency is taken into account.

Large heading

Normal body text as it appears in paragraphs and forms.

Button
–Contrast ratio

Calculated per WCAG 2.2 (relative luminance). The ratio is not rounded up, as the guideline requires.