Accessibility
WCAG Contrast Batch Checker
Paste two palettes and test every foreground/background pairing at once. Each cell shows the real WCAG contrast ratio and whether it passes your chosen level — completely in your browser, so your colors never leave the page.
Palettes
one color per line
Accepts hex, rgb(), hsl() and CSS color names. Blank
lines and duplicate colors are ignored; unrecognized colors are listed below.
Transparency is composited before measuring.
Results
AA normal textHow it works
Every foreground color is measured against every background color using the WCAG 2.1
contrast formula (L1 + 0.05) / (L2 + 0.05). Normal text needs
4.5:1 for AA and 7:1 for AAA; large text (18pt, or 14pt
bold) needs 3:1 for AA and 4.5:1 for AAA. Each matrix cell
renders sample text in the real pair, so passing and failing combinations are
obvious at a glance.