Color contrast checker
Check WCAG color contrast ratios for accessibility
Normal text (16px): The quick brown fox jumps over the lazy dog
Large text (18px bold): The quick brown fox jumps over the lazy dog
- Select your foreground (text) color using the color picker or hex input
- Select your background color
- The contrast ratio is calculated automatically
- Check the WCAG compliance results for normal and large text
- Use the preview to see how the colors look together
- Aim for at least AA compliance (4.5:1 for normal text, 3:1 for large text)
Colors:
Foreground: #000000 (black)
Background: #ffffff (white)
Result:
Contrast ratio: 21:1
Normal text AA: Pass ✓
Normal text AAA: Pass ✓