Gainsboro (#DCDCDC)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 1.37:1 — vs black: 15.31:1
Color values
-
HEX
#DCDCDC -
RGB
rgb(220, 220, 220) -
HSL
hsl(0, 0%, 86%) -
CMYK
cmyk( 0, 0, 0, 14 ) -
Websafe
#CCCCCC
Tags
Mood
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #DCDCDC based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#DCDCDC
Base
#DCDCDC
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#DCDCDC
Base
#8F8F8F
#B6B6B6
#C8C8C8
#F0F0F0
#F2F2F2
Darker shades and lighter tints of Gainsboro, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#0D0D0D
#363636
#606060
#898989
#B3B3B3
#DCDCDC
Base
#E0E0E0
#E5E5E5
#E9E9E9
#EEEEEE
#F2F2F2
Ready-to-use code snippets for #DCDCDC. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #DCDCDC;
}
/* Text */
.element {
color: #DCDCDC;
}
/* Border */
.element {
border: 1px solid #DCDCDC;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#DCDCDC,
#DCDCDC
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#DCDCDC,
#DCDCDC
);
}
// SCSS variable
$gainsboro: #DCDCDC;
// With RGB channels (useful for rgba() usage)
$gainsboro-r: 220;
$gainsboro-g: 220;
$gainsboro-b: 220;
// Usage
.element {
background-color: $gainsboro;
color: rgba($gainsboro-r, $gainsboro-g, $gainsboro-b, 0.8);
}
How Gainsboro appears to people with different types of color vision deficiency.
#DCDCDC
How the color appears with full color vision.
#DCDCDC
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#DCDCDC
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#DCDCDC
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#DCDCDC
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.