Check two solid colours against WCAG 2.2 contrast thresholds and explore practical adjustments. Calculations stay in this browser.

Results apply to opaque sRGB HEX colours. This colour-pair check cannot certify an entire website: text size, adjacent colours, backgrounds, states, focus indicators and other accessibility requirements still matter.

Choose your colours

Use #RGB or #RRGGBB, optionally without the #. Valid colours are normalised when you finish editing. Alpha, RGB/HSL notation, gradients, images and wide-gamut colours are excluded.

Preparing local colour controls.

Enter valid foreground and background colours to calculate results.