Open-source repository ↗
Browser-only • Open source

Make every color readable.

Test text contrast in real time, preview your combinations, and find accessible alternatives. No account, uploads, or guesswork.

Your palette

WCAG 2.x contrast
18 px

Contrast report

Calculated locally

12.4 : 1

Passes AA
AA · Normal textPASS
AA · Large textPASS
AAA · Normal textPASS
AAA · Large textPASS
Live preview

Design for everyone.

Clear typography creates experiences more people can actually use. Adjust the colors and watch your contrast ratio change.

Accessible alternative

Your foreground color already passes AA.

WCAG AA thresholds: 4.5:1 for normal text and 3:1 for large text. AAA: 7:1 and 4.5:1. Large text means at least 24 CSS px regular or approximately 18.67 CSS px bold.

Made for iteration

Every edit updates the mathematical ratio and the real text preview. Copy CSS-ready colors or automatically move the text color toward a passing AA combination.

Privacy by design

All analysis happens inside your browser. Contrast Lab has no analytics scripts, external font requests, server processing, or accounts.