#dcd8dc ≈ Gainsboro
#dcd8dc is a color from the gray family, with very high lightness and almost no saturation. In the RGB model it is made of 86.27% red, 84.71% green and 86.27% blue; printed in CMYK it uses 0% cyan, 1.82% magenta, 0% yellow and 13.73% black. Its hue angle is 300°, with 5.41% saturation and 85.49% 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.9:1 (WCAG AAA). The closest named color is Gainsboro (#dcdcdc), ΔE 3.27.
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.6949 |
Shades
#dcd8dc mixed progressively with black.
Tints
#dcd8dc mixed progressively with white.
Tones
#dcd8dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd8dc {
color: #dcd8dc;
}
.bg-dcd8dc {
background-color: #dcd8dc;
color: #000000;
}
.border-dcd8dc {
border: 2px solid #dcd8dc;
}
:root {
--color-primary: #dcd8dc;
--color-primary-rgb: 220 216 220;
--color-primary-hsl: 300 5% 85%;
}
.gradient-dcd8dc {
background: linear-gradient(135deg, #dcd8dc, #dcd8da);
}
.shadow-dcd8dc {
box-shadow: 0 8px 24px rgb(220 216 220 / 0.35);
}
Gainsboro
#dcd8dc rgb(220, 216, 220) hsl(300, 5%, 85%) Gainsboro
#d8dcd8 rgb(216, 220, 216) hsl(120, 5%, 85%) Gainsboro
#dcdcd8 rgb(220, 220, 216) hsl(60, 5%, 85%) Gainsboro
#d8dcdc rgb(216, 220, 220) hsl(180, 5%, 85%) Gainsboro