Contrast Checker

Pick a text colour and a background colour. See the WCAG contrast ratio instantly, fix it in one tap, and keep the pairs that pass.

–
–

UseNeedsResult

Live preview

Design that everyone can read

Body text should stay legible at a glance — on a phone, in sunlight, and for readers with low vision.

Small print, 13px — the hardest size to pass.

Fix this pair

Nudges the text colour lighter or darker, keeping its hue, until it passes.

Saved pairs

Saved pairs stay in this browser, and Save / Open above moves them between machines as a JSON file.

Ratios follow the WCAG 2 relative-luminance formula. Large text means 18pt+ (24px) or 14pt+ bold. Nothing here leaves your device.