WebAIM (Web Accessibility in Mind) is a non-profit organisation at Utah State University that has been one of the leading sources of web accessibility guidance since 1999. Their contrast checker is one of the most widely referenced free tools for testing whether colour combinations meet WCAG standards — and it is trusted by accessibility auditors, developers, and designers worldwide.
This guide explains how to use the WebAIM contrast checker, what it tests for, and introduces a free alternative with additional features for designers who need more than a basic ratio check.
What Is the WebAIM Contrast Checker?
The WebAIM contrast checker, available at webaim.org/resources/contrastchecker, is a free online tool that calculates the contrast ratio between two colours and shows whether they pass or fail WCAG AA and AAA contrast requirements.
What it checks:
- WCAG Level AA — 4.5:1 for normal text, 3:1 for large text
- WCAG Level AAA — 7:1 for normal text, 4.5:1 for large text
- Pass/fail badges for both normal and large text at both levels
How to use it:
- Enter the foreground (text) colour as a hex code
- Enter the background colour as a hex code
- The tool instantly shows the contrast ratio and pass/fail results
- Adjust either colour using the hex inputs or the built-in colour picker
The WebAIM contrast checker is reliable, accurate, and uses the correct WCAG relative luminance formula. It has been widely cited in accessibility audits and legal compliance documentation for over a decade.
WebAIM Contrast Checker Limitations
While WebAIM's tool is excellent for quick single-pair checks, it has some limitations worth knowing:
No live layout preview: WebAIM shows coloured boxes with sample text but does not show how your colours look in an actual webpage context — navigation, body paragraphs, buttons, links, and cards.
No colourblind simulation: WebAIM does not show how your colour pair appears to users with colour vision deficiency (Protanopia, Deuteranopia, Tritanopia). Contrast ratio alone does not capture all colour accessibility issues.
No palette grid: If you need to check multiple brand colours against each other — such as auditing a full design system — you have to test each pair individually.
No export: WebAIM does not offer CSS variable export or Figma design token export for integrating results into a development workflow.
Free WebAIM Contrast Alternative — Web Asset Suite
Web Asset Suite's contrast checker uses the same WCAG relative luminance formula as WebAIM — the contrast ratios are identical. It adds the following features on top of the core ratio check:
Live Webpage Preview
Instead of coloured boxes, your colours appear in a full webpage layout — header, hero text, body paragraphs, buttons, and cards. This shows exactly how your colour combination looks in real context, not just as isolated swatches.
Colourblind Simulation
Toggle between Protanopia (red weakness), Deuteranopia (green weakness), and Tritanopia (blue weakness) to see how your palette appears to users with colour vision deficiency. This catches accessibility issues that contrast ratios alone don't reveal — such as two colours that have sufficient contrast but look identical to colourblind users.
Palette Contrast Grid
Add multiple brand colours — your primary, secondary, accent, and text colours — and the grid shows every possible combination's contrast ratio in a single table. Cells are colour-coded green (pass) or red (fail) for instant visual scanning. This is the fastest way to audit a full design system's colour accessibility.
Auto-Fix
Click the Auto-fix button to instantly generate the nearest passing colour alternative to your current text or background colour. The tool adjusts luminance while preserving hue and saturation — keeping your brand recognisable while meeting WCAG standards.
CSS and Figma Export
Export your colour pair as CSS custom properties (variables) with a ready-to-paste snippet, or as Figma design tokens for direct import into your design system.
WebAIM vs Web Asset Suite — Side by Side

When to Use WebAIM and When to Use Web Asset Suite
Use WebAIM when: You need a quick single-pair check and want the fastest, simplest possible interface. WebAIM's contrast checker loads instantly and has no additional UI to navigate. For a developer or accessibility auditor checking one specific colour pair during a code review, it is the quickest option.
Use Web Asset Suite when: You are designing a colour system and need to check multiple pairs simultaneously (palette grid). When you want to present accessibility results to a client with a visual layout rather than just numbers. When you are integrating contrast checking into a design workflow that uses CSS variables or Figma. When you want to check for colour blindness issues alongside contrast ratios.
Both tools are free, require no account, and produce identical WCAG contrast ratios. The choice depends on whether you need just the ratio or a complete accessibility colour workflow.
The WebAIM Million — Why Contrast Still Fails So Widely
WebAIM publishes an annual accessibility report called the WebAIM Million — an automated audit of the top 1,000,000 websites. In every edition of this report, low colour contrast has been the single most common WCAG failure — appearing on over 80% of tested homepages.
The most common failing combination is light grey text on white backgrounds — a choice that looks elegant in design mockups but fails WCAG AA badly. The darkest grey that passes AA on white is approximately #767676 (4.54:1 contrast ratio). Most designs that use "body text grey" use colours between #888888 and #AAAAAA — all of which fail.
Test your own grey values at webassetsuite.com/contrast-checker to verify they meet the 4.5:1 minimum.
Related tools: