Repair foreground
Free color contrast checker
Make every color pairing easier to read.
Check text and interface colors against WCAG, then repair a failing pair without losing its character.
- Exact contrast ratio
- Accessible color repair
- Works in this browser
Choose colors
Test a foreground and background
Type a three- or six-digit HEX value, or use the color controls.
Hue chooses the color family. Color intensity moves between neutral gray and vivid color. Lightness moves the result toward black or white. All three settings combine to make the final color.
Enter a valid three- or six-digit HEX color.
{{ t('checker.picker', { label: t('checker.foreground') }) }}
Enter a valid three- or six-digit HEX color.
{{ t('checker.picker', { label: t('checker.background') }) }}
Contrast ratio {{ ratioText }}:1 {{ t('score.summary', { passed: passedCount, total: resultRows.length }) }} Result details
The ratio measures the light–dark difference: 1:1 is none, and higher is easier to distinguish. AA is the usual accessibility target; AAA is stricter.
- {{ result.title }}{{ result.hint }} {{ result.pass ? t('results.pass') : t('results.fail') }}
Live preview
See the pairing in context
Good contrast keeps paragraphs comfortable to read across different screens and viewing conditions.
Accessible repair
Keep the color, fix the contrast
Lightness changes first. Hue and color intensity stay as close as the displayable range allows.
Repair background