Gray and White Color Combinations (Bold): Hex Codes and Contrast
How gray and white work together in a bold, saturated version: hex codes, contrast, which should lead, the neutrals and accent to add, and what the pair says.
Gray and white in their bold, saturated versions are a combination people ask about often. Gray (Whale (#78818C)) brings balance, neutrality and maturity; white (Snow (#F5F5F5)) brings purity, new beginnings and space. Put together, the pair reads as energetic and confident. This guide shows how to use them, how readable they are together and which neutrals and accents to add.
How they look together
Measured against each other the two colors reach 3.62:1 (AA large). That is enough for large text and interface parts, but not for small body text, so keep the paragraphs on a neutral.
| Combination | Contrast | Level |
|---|---|---|
| Gray on white | 3.62:1 | AA large |
| Gray on a light neutral | 3.78:1 | AA large |
| White on a light neutral | 1.04:1 | Fail |
| Gray on a dark neutral | 4.70:1 | AA |
| White on a dark neutral | 17.04:1 | AAA |
Which one should lead?
Give most of the space to one and use the other as the accent. Here gray is the more saturated of the two, so it draws the eye first. Let it lead for backgrounds and headlines, and keep the other for details, buttons and highlights. A split near 70 to 30 usually feels balanced; an even 50 to 50 makes the eye work to decide what is important.
Neutrals and accents to add
- A light neutral such as Snow (#FBFAF7) for backgrounds and large surfaces.
- A dark neutral such as Sooty (#111318) for text and the strongest contrast.
- A small accent such as Mule (#8C7978), from the split-complementary side of gray, for one button or highlight.
Putting it in a layout
| Part of the page | Background | Text or detail | Contrast |
|---|---|---|---|
| Hero section | #78818C | #111111 | 4.78:1 |
| Cards | #FBFAF7 | #111318 | 17.80:1 |
| Primary button | #F5F5F5 | #111111 | 17.32:1 |
| Footer | #111318 | #FBFAF7 | 17.80:1 |
That layout gives gray the large areas and white the action. Every row reaches at least 4.5 to 1, so all the text is comfortable to read.
Extending the pair
Two colors rarely cover a whole design. Tints and shades of each give you more steps without introducing a third hue, so the pair stays recognizable.
Common mistakes
- Using both saturated colors at full strength in equal amounts. Pick a leader and mute the other.
- Relying on the difference between gray and white to carry meaning, such as success and error. About one in twelve men has trouble telling some hues apart, so add an icon or a label.
- Choosing the pair on a bright monitor and never checking it on a phone, in print or in a dim room.
As CSS
:root {
--gray: #78818C;
--white: #F5F5F5;
--paper: #FBFAF7;
--ink: #111318;
--accent: #8C7978;
}What the combination says
Gray signals disabled and inactive controls in interfaces and secondary text, borders and placeholders. White signals surrender and peace flags and cleanliness in healthcare. When both appear, viewers may read either meaning, depending on which leads, so check that the message you want is the one the proportions give.
Where it works
- Brands that want to be seen and remembered.
- UI neutrals and backgrounds.
- Presentations and posters where the pair carries the whole design.