# 15.6 Meet the contrast ratios

> Chapter 15, Accessibility and input. Section: Text, color, and display. Guide: https://www.designguide.dev/md/15-accessibility-and-input.md#meet-the-contrast-ratios

Hard

**Rule:** Give text at least 4.5 to 1 contrast, and give control edges, focus rings, and state fills at least 3 to 1.

**Why:** Low contrast text is unreadable in sunlight and with low vision, and faint edges hide controls.

- Include placeholder text and text over images.
- Measure in a real browser, not by eye.

| Element | Minimum contrast |
| --- | ---: |
| Body text and field text | 4.5 to 1 |
| Large text (24 px, or 19 px bold) | 3 to 1 |
| Placeholder text | 4.5 to 1 |
| Control edge | 3 to 1 |
| Focus ring | 3 to 1 |
| Selected state fill | 3 to 1 |
