Color Contrast Checker
Check WCAG color contrast ratios between foreground and background colors. See AA and AAA pass/fail badges instantly.
Luminance: 0.0116
Luminance: 1.0000
Contrast ratio
17.06:1
Large text sample (24px bold)
Normal text sample (16px) — The quick brown fox jumps over the lazy dog.
Small text sample (12px) — This is how small body text would appear with these colour choices.
How to use Color Contrast Checker
-
Enter your foreground color
Select your text color using the color picker or type a hex code in the foreground field.
-
Enter your background color
Select your background color using the color picker or type a hex code in the background field.
-
Read the contrast ratio and badges
The contrast ratio calculates instantly, along with pass/fail badges for AA Normal, AA Large, AAA Normal, and AAA Large.
-
Review the live text preview
See how your color combination looks on large (24px+), normal (16px), and small (12px) text in the preview panel.
-
Adjust until all required levels pass
Use the Swap button to invert colors, try a preset, or fine-tune hex values until your required WCAG level shows a pass badge.
Color Contrast Checker FAQ
What contrast ratio do I need for WCAG AA?
What is the difference between AA and AAA?
How is relative luminance calculated?
Is my data sent to a server?
What does 'large text' mean in WCAG?
Does a passing contrast ratio guarantee full WCAG compliance?
What contrast ratio does black on white have?
Can I check background images or gradients?
Does it work on mobile?
Background
Color contrast is one of the most frequently failed WCAG success criteria. If your text and background colors do not have sufficient contrast, your content is inaccessible to the 300 million people worldwide with color vision deficiency and to users in bright sunlight or on low-quality screens.
Enter a foreground (text) color and a background color using the native color pickers or hex input fields. The contrast ratio calculates instantly, along with pass/fail badges for four WCAG 2.1 levels: AA Normal (4.5:1), AA Large (3:1), AAA Normal (7:1), and AAA Large (4.5:1). A live preview shows how large, normal, and small text renders with your chosen color pair.
Swap colors with one click, pick from common presets, or fine-tune hex values until all required levels pass. Relative luminance values are shown for each color for reference.
Competitors like webaim.org/resources/contrastchecker offer similar core checking — Kordu adds live text previews at multiple sizes and a cleaner single-page interface with no page reloads.
Who is this for? UI/UX designers choosing accessible color palettes, developers implementing WCAG compliance, QA engineers running accessibility audits, and anyone building public-facing digital products that must meet legal accessibility standards.
Related tools
Color Picker
Pick any color and instantly view HEX, RGB, HSL, HSV, CMYK, alpha, and decimal values. Copy any format with one click.
Image Color Picker
Pick colors from any image and get HEX, RGB, and HSL values. Extract a full color palette instantly.
Meta Tag Previewer
Preview how your page looks in Google, Facebook, Twitter, and LinkedIn before you publish. Generate ready-to-paste meta tags.