All tools · 🎨 Design

🎨 Color Contrast Checker

Pick a foreground and background color. We compute the WCAG contrast ratio and tell you if it passes AA (4.5:1) and AAA (7:1) for normal text, plus AA Large (3:1) for large text.

Loading tool…

Examples

Black on white
Input#000 on #fff
OutputRatio 21:1 · AAA pass
Light gray text on white
Input#9ca3af on #fff
OutputRatio 2.84:1 · Fails AA — too light
Dark blue on light yellow
Input#1e3a8a on #fef3c7
OutputRatio ~10:1 · AAA pass

Frequently asked questions

What are WCAG AA and AAA?

Web Content Accessibility Guidelines. AA (4.5:1 normal text, 3:1 large) is the standard most sites and laws target. AAA (7:1 / 4.5:1) is stricter, sometimes required for government / healthcare.

What counts as "large text"?

Roughly 18pt+ regular or 14pt+ bold (24px / 18.66px). Large text has a relaxed contrast requirement because it is easier to read.

Does this apply to icons?

WCAG 2.1+ requires 3:1 contrast for "non-text" UI elements (icons, focus indicators, form borders) against their background.

Why is contrast different from "looks good"?

Designers often choose subtle text colors that pass eyeball tests but fail people with low vision or older eyes. WCAG is a numerical floor, not a ceiling.

About this tool

Color Contrast Checker runs entirely in your browser using standard Web APIs. No data is sent to any server. The source for this tool is in our public GitHub repository.

Related tools

← All 96 tools

Why this tool

vs typical free web-tool sites

1vwTypical free site
PriceFreeFree
Signup requiredNoOften (for premium features)
Ads inside the toolNoYes (banner + video)
Data sent to serverNo (browser-only)Yes (inputs analyzed for ads)
Total tools96Often <20 or scattered across sites
Bookmarkable URL per toolYesMixed
Loads in under 1sYes (static)Often slow (ad tracking)
MultilingualEN / ES / PT / FR / DEUsually EN only
Open sourceYesNo