Skip to content
ColorPicker Studio

Gainsboro color — #DCDCDC

Gainsboro is a CSS named color with the HEX code #DCDCDC, RGB value rgb(220, 220, 220) and HSL value hsl(0, 0%, 86%).

Gray

Gainsboro

#DCDCDC

Color codes

HEX
#DCDCDC
RGB
rgb(220, 220, 220)
HSL
hsl(0, 0%, 86%)
HSV
hsv(0, 0%, 86%)
CMYK
cmyk(0%, 0%, 0%, 14%)
OKLCH
oklch(89.45% 0 0)

CSS usage

In CSS you can use the keyword or any equivalent value:

.element {
  color: gainsboro;
  background-color: #dcdcdc;
  border-color: rgb(220, 220, 220);
  outline-color: hsl(0, 0%, 86%);
}

Shades

Tints

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Contrast ratio

Contrast ratio against white and black text, per WCAG 2.2.

Gainsboro — On white1.37:1 · Fail
Gainsboro — On black15.31:1 · AAA

Similar colors

More Gray colors →