#d9d8da ≈ Gainsboro
#d9d8da is a color from the gray family, with very high lightness and almost no saturation. In the RGB model it is made of 85.1% red, 84.71% green and 85.49% blue; printed in CMYK it uses 0.46% cyan, 0.92% magenta, 0% yellow and 14.51% black. Its hue angle is 270°, with 2.63% saturation and 85.1% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography, corporate identities and backgrounds and large surfaces. Black text on this color reaches a contrast ratio of 14.79:1 (WCAG AAA). The closest named color is Gainsboro (#dcdcdc), ΔE 1.56.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccccc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6893 |
Shades
#d9d8da mixed progressively with black.
Tints
#d9d8da mixed progressively with white.
Tones
#d9d8da mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9d8da {
color: #d9d8da;
}
.bg-d9d8da {
background-color: #d9d8da;
color: #000000;
}
.border-d9d8da {
border: 2px solid #d9d8da;
}
:root {
--color-primary: #d9d8da;
--color-primary-rgb: 217 216 218;
--color-primary-hsl: 270 3% 85%;
}
.gradient-d9d8da {
background: linear-gradient(135deg, #d9d8da, #dad8da);
}
.shadow-d9d8da {
box-shadow: 0 8px 24px rgb(217 216 218 / 0.35);
}
Gainsboro
#d9d8da rgb(217, 216, 218) hsl(270, 3%, 85%) Gainsboro
#d9dad8 rgb(217, 218, 216) hsl(90, 3%, 85%) Gainsboro
#dad9d8 rgb(218, 217, 216) hsl(30, 3%, 85%) Gainsboro
#d8dad9 rgb(216, 218, 217) hsl(150, 3%, 85%) Gainsboro