About #DCDCDC
#DCDCDC is a pale, neutral gray. It belongs to the gray family and reads as a neutral color. All three channels are equal (220), so it is a pure gray at 86.3% brightness with no hue at all. Colors like this are typically used for borders, secondary text, dividers and neutral UI.
- It is the CSS named color gainsboro, so you can write
color: gainsboroinstead of the hex code.
Color conversions
| HEX | #DCDCDC |
|---|---|
| RGB | rgb(220, 220, 220) |
| RGB percent | rgb(86.3%, 86.3%, 86.3%) |
| HSL | hsl(0, 0%, 86%) |
| HSV / HSB | hsv(0, 0%, 86%) |
| CMYK | cmyk(0%, 0%, 0%, 14%) |
| CIELAB (D65) | lab(87.8 0 0) |
| Decimal | 14474460 |
| Binary | 11011100 11011100 11011100 |
HEX DC DC DC → 220, 220, 220 (each pair is a base-16 number: D×16 + C = 220)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #DCDCDC
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #DCDCDC | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.37:1 | Fail | Fail | Fail | Fail |
| Black text | 15.31:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.7157 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#dcdcdc
Deuteranopia#dcdcdc
Tritanopia#dcdcdc
Achromatopsia#dcdcdc
People with red–green color blindness see this color almost unchanged (ΔE 0 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
| Name | HEX | ΔE 2000 |
|---|---|---|
| gainsboro | #dcdcdc | 0 |
| lightgray | #d3d3d3 | 2.1 |
| whitesmoke | #f5f5f5 | 5.4 |
| silver | #c0c0c0 | 6.8 |
CSS
.element {
color: #dcdcdc;
background-color: rgb(220, 220, 220);
border: 1px solid hsl(0, 0%, 86%);
box-shadow: 0 2px 8px rgb(220 220 220 / 50%);
}
:root { --brand: #dcdcdc; }