WCAG AA & AAALive PreviewColor SuggestionsFree
Sample Text
The quick brown fox jumps over the lazy dog.
Small text at 14px for reference.
12.63:1
Contrast Ratio
AA Normal Text
Pass (4.5:1)
AA Large Text
Pass (3:1)
AAA Normal Text
Pass (7:1)
AAA Large Text
Pass (4.5:1)

Frequently Asked Questions

What is WCAG contrast?
WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios for text accessibility: 4.5:1 for AA normal, 3:1 for AA large, 7:1 for AAA normal, 4.5:1 for AAA large.
What contrast ratio should I aim for?
At minimum, aim for WCAG AA (4.5:1 for normal text). For best accessibility, target WCAG AAA (7:1).
How is the ratio calculated?
Using the relative luminance formula defined in WCAG 2.0: (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter color.
Share:

About Contrast Check

What this tool does

Developer and design tools include CSS generators (gradients, shadows, glassmorphism), code playgrounds, color pickers, responsive previews, and reference charts for HTML tags, HTTP methods, and keyboard shortcuts.

Why use this tool

Front-end development involves constant context switching between code and visual output. Having generators and references in a single browser tab speeds up prototyping and reduces the need to search through documentation sites.

How it works

Each tool provides an interactive UI: you tweak parameters (colors, radii, durations), and the tool generates the corresponding CSS, HTML, or SVG code in real time. Copy the snippet directly into your project.

Pro tip

Use the CSS variable output option when available. It makes your generated code theme-friendly and easier to maintain across a design system.

Love this tool? Explore 12467+ more

Free online tools for images, PDFs, text, code, and more. All running in your browser.

Explore All Tools