The grid contains twelve text-and-background pairs. The table measures the exact HEX values shown, with the background first and the text color second.
For WCAG text contrast, AA requires at least 4.5:1 for normal text or 3:1 for large text. Large text is at least 18 pt regular or 14 pt bold. The higher AAA thresholds are 7:1 and 4.5:1 respectively.
Contrast results for all twelve pairs
| Pair | Background | Text | Contrast | AA normal text | AAA normal text |
|---|---|---|---|---|---|
| Midnight Navy and White | #0B3D91 | #FFFFFF | 10.04:1 | Pass | Pass |
| Ivory and Charcoal Gray | #FFF8E7 | #333333 | 11.93:1 | Pass | Pass |
| Dark Charcoal and Coral | #121212 | #FF6F61 | 6.87:1 | Pass | Fail |
| Blush Pink and Forest Green | #FADCD9 | #014421 | 8.81:1 | Pass | Pass |
| Baby Blue and Dark Red | #C6E2FF | #8B1A1A | 6.96:1 | Pass | Fail |
| Sunset Orange and Deep Blue | #FF914D | #002F6C | 5.80:1 | Pass | Fail |
| Lavender and Indigo | #E6E6FA | #4B0082 | 10.52:1 | Pass | Pass |
| Tan and Navy | #D2B48C | #000080 | 8.12:1 | Pass | Pass |
| Peach and Deep Teal | #FDB99B | #004C4C | 5.89:1 | Pass | Fail |
| Olive Green and Ivory | #708238 | #FFFFF0 | 4.21:1 | Fail | Fail |
| Light Gray and Dark Charcoal | #F0F0F0 | #1A1A1A | 15.27:1 | Pass | Pass |
| Mint Cream and Charcoal | #F1FFF5 | #262626 | 14.67:1 | Pass | Pass |
Olive green with ivory is 4.21:1: it meets AA for large text, but not for normal-sized text. Displayed ratios are rounded to two decimals; pass/fail uses the unrounded calculation.
Midnight Navy and White (#0B3D91 / #FFFFFF)
White text on this deep blue gives a contrast ratio of 10.04:1. It is a dark-background option for a header or navigation area.
Ivory and Charcoal Gray (#FFF8E7 / #333333)
Ivory provides a warm background, while the dark gray text gives the page a book-like appearance.
Dark Charcoal and Coral (#121212 / #FF6F61)
Coral provides a vibrant accent on dark charcoal. It can mark short labels within an otherwise neutral dark interface.
Blush Pink and Forest Green (#FADCD9 / #014421)
The soft pink background and dark Forest Green text make a warm–cool pairing. This can also be a starting palette for text art.
Baby Blue and Dark Red (#C6E2FF / #8B1A1A)
Baby Blue supplies the background here; dark red handles the lettering.
Sunset Orange and Deep Blue (#FF914D / #002F6C)
The orange background is the brighter part of this pair, with deep blue used for text. On a button, the blue label remains distinct from the orange fill.
Lavender and Indigo (#E6E6FA / #4B0082)
Pale lavender and deep indigo stay within a purple family, with a large difference in lightness separating the letters from the background.
Tan and Navy (#D2B48C / #000080)
Tan adds a warmer background to Navy text. It offers a darker, earthier alternative to the ivory background above.
Peach and Deep Teal (#FDB99B / #004C4C)
Pastel peach and deep teal create a “sunrise meets the sea” effect. Use the dark teal for text and reserve peach for the background.
These measurements assume solid colors at full opacity. A gradient, image or translucent layer changes the background behind the letters. Text contrast is one accessibility check, not a guarantee that the whole page meets WCAG.