Contrast Checker
v1.0The Contrast Checker reports the WCAG contrast ratio between a foreground and a background color, from 1:1 up to 21:1. Enter colors in HEX, RGB, HSL or OKLCH. A live preview shows the pair as heading text, body copy and a bordered UI control, so you can see the result as well as read the number.
Each pair is graded against five checks: AA for normal text (4.5:1) and large text (3:1), AAA for normal text (7:1) and large text (4.5:1), and the 3:1 bar for UI components and graphics. Every check shows a pass or fail with an icon and a label, not just color.
When a pair misses AA for normal text, the tool suggests the nearest color that passes, keeping your foreground's hue and chroma, as a swatch you can apply with one click.
The color picker used across the site changed too. A format selector lets you work in HEX, RGB, HSL or OKLCH, with a separate field for each channel and arrow-key stepping. The format you choose is remembered. A paste button beside the input applies a color from your clipboard in any of those formats, and shows a clear message if the clipboard doesn't hold a color. The clipboard is only read when you press the button.