PasteZap
🌐 English
Free · No account

FREE · DESIGN & CSS TOOLS

Color Contrast Checker.

Check colour contrast against WCAG 2.2 AA and AAA for normal text, large text and UI components, with a live preview and the closest passing colour.

Limits & supported formats

WCAG 2.x relative-luminance contrast for solid sRGB colours. Text over images or gradients must be checked at its weakest point.

Large heading text

Body text at 16 px: the quick brown fox jumps over the lazy dog. Readable text helps everyone, including people with low vision.

Small print at 13 px — the hardest to read.

Button
Contrast ratio6.00 : 1
Normal text — AA (4.5:1)✓ Pass
Normal text — AAA (7:1)✕ Fail
Large text — AA (3:1)✓ Pass
Large text — AAA (4.5:1)✓ Pass
UI components & graphics — AA (3:1)✓ Pass
Closest passing text colours

Ratios follow WCAG 2.2 (relative luminance of sRGB colours). Text over images or gradients must be checked at its lowest-contrast point.

Steps to use Color Contrast Checker

Pick or type the text and background colours (or swap them). The ratio and each AA/AAA verdict update instantly; click a suggested colour to fix a failing pair, then copy the CSS.

How Color Contrast Checker processes your input

Contrast ratio with WCAG 1.4.3, 1.4.6 and 1.4.11 checks, live sample text at several sizes, a button preview, automatic nearest-passing colour (lightness adjusted) for AA and AAA, and CSS copy.

Color Contrast Checker: worked example

#336699 on white = 6.00:1 → passes AA for all text, fails AAA for normal text; the tool suggests #2d5b88 (7.09:1) for AAA.

Questions about Color Contrast Checker

Is Color Contrast Checker free, and do I need an account?

Yes. This tool is free to use in your browser without an account. Processing takes place on your device.

What are the limits and what should I check?

WCAG 2.x relative-luminance contrast for solid sRGB colours. Text over images or gradients must be checked at its weakest point. Review the result before using it in your work.

Is my input sent to a server?

Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.