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.

Runs in your browser WCAG 2.1 v1.0.0

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 text
0 pass
0 fail
0 combinations
— of pairs pass

How 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.