#DCDCDC color (gainsboro)

#DCDCDC is rgb(220, 220, 220) in RGB and hsl(0, 0%, 86%) in HSL. It is exactly the CSS color gainsboro. Use black text on it (contrast 15.31:1).

#DCDCDCgainsboro
HEX#DCDCDC
RGBrgb(220, 220, 220)
RGB percentrgb(86.3%, 86.3%, 86.3%)
HSLhsl(0, 0%, 86%)
HSV / HSBhsv(0, 0%, 86%)
CMYKcmyk(0%, 0%, 0%, 14%)
CIELAB (D65)lab(87.8 0 0)

Edit in the color converter → · Check contrast → · Shades →

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.

Color conversions

HEX#DCDCDC
RGBrgb(220, 220, 220)
RGB percentrgb(86.3%, 86.3%, 86.3%)
HSLhsl(0, 0%, 86%)
HSV / HSBhsv(0, 0%, 86%)
CMYKcmyk(0%, 0%, 0%, 14%)
CIELAB (D65)lab(87.8 0 0)
Decimal14474460
Binary11011100 11011100 11011100

HEX DC DC DC → 220, 220, 220 (each pair is a base-16 number: D×16 + C = 220)

Color harmonies

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 #DCDCDCRatioAA normalAA largeAAA normalAAA large
White text1.37:1FailFailFailFail
Black text15.31:1PassPassPassPass
White text on #DCDCDC
Black text on #DCDCDC
#DCDCDC text on white
#DCDCDC text on black

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

NameHEXΔE 2000
gainsboro#dcdcdc0
lightgray#d3d3d32.1
whitesmoke#f5f5f55.4
silver#c0c0c06.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; }

Frequently asked questions

What color is #DCDCDC?
A pale neutral gray in the gray family. Closest CSS name: gainsboro.
What is #DCDCDC in RGB?
rgb(220, 220, 220): red 220, green 220, blue 220.
What is the complementary color of #DCDCDC?
#DCDCDC, found by rotating the hue 180°.