What to check
Use approved color pairs or measure new combinations with a contrast checker. Ordinary text needs a contrast ratio of at least 4.5:1. Large text needs at least 3:1. Check normal, hover, focus, and disabled states where the text is still meant to be read.
Passing examples
These examples meet this check:
- Body text measures 7:1 against its background.
- Small button text measures at least 4.5:1.
- A large 18-point heading measures at least 3:1.
- Text over a photograph has a solid background behind every word.
- A link remains readable when hovered and focused.
Failing examples
These examples need attention:
- Small pale-gray text on white measures 2:1.
- Words disappear over a bright area of a photograph.
- Small button text measures only 3:1.
- A link is readable normally but becomes too faint when hovered.
- Placeholder text is so pale that it is difficult to read.
Helpful note
If you are unsure whether text qualifies as large, use the safer 4.5:1 target.
