WCAG
Color contrast checker
Pick a text color and a background color from your palette. PigmentPicker shows the contrast ratio and whether it meets WCAG AA or AAA.
1 · Start
Describe a Palette with AI
Not sure what colors you want? Let AI generate a palette from a description.
Extract from image
Upload a photo or screenshot and pull its colors into the palette.
2 · Result
Color Palette
Tap a swatch to use it as the base color. Lock a color to keep it when you regenerate.
Export Palette
Download your palette in the format you prefer
Generated Code Preview
JSON{
"palette": []
}3 · Adjust
Color Picker
Base color
Closest match, not an exact conversion.
4 · Check
Contrast Checker
Choose a text color and a background color, then read the contrast ratio.
Sample Text
This is how your text will look
Contrast Ratio
21.00:1
Perfect! This meets WCAG AAA standards.
Text color
Background color
How it works
- Build or load a palette above.
- Use the Contrast Checker in the Check section.
- Choose text and background colors.
- Read the ratio and AA/AAA labels, then adjust colors until they pass.
When this helps
Use it before shipping UI text, buttons, or form labels. Checking early saves rework when a design looks fine on your monitor but fails accessibility tests later.
FAQ
- What does the contrast checker measure?
- It calculates the contrast ratio between a text color and a background color, then shows whether that pair meets WCAG AA or AAA for normal or large text.
- Do I need a full palette first?
- You can start from the default palette or any colors you generate. Pick text and background from the palette swatches, or adjust them in the contrast tool.
- Is this the same as a color contrast generator?
- People search for both “checker” and “generator.” Here you check pairs against WCAG and can change colors until the ratio passes. You can also build a new palette on the same page.