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

Sample Text
This is how text may look on this color.
Best text color: #000000
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

Tip: tags are heuristic suggestions (helpful for browsing and inspiration).

Color Harmonies

Colors that pair well with #DCDCDC based on color theory relationships.

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Gainsboro
#DCDCDC Base
Gainsboro
#DCDCDC
Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Gainsboro
#DCDCDC Base
Gainsboro
#DCDCDC
Gainsboro
#DCDCDC
Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Gainsboro
#DCDCDC Base
Gainsboro
#DCDCDC
Gainsboro
#DCDCDC
Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Gainsboro
#DCDCDC Base
Gainsboro
#DCDCDC
Gainsboro
#DCDCDC
Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Gainsboro
#DCDCDC Base
Gainsboro
#DCDCDC
Gainsboro
#DCDCDC
Gainsboro
#DCDCDC
Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Gainsboro
#DCDCDC Base
#8F8F8F
#B6B6B6
#C8C8C8
#F0F0F0
#F2F2F2
Shades & Tints

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
Gainsboro #DCDCDC Base
#E0E0E0
#E5E5E5
#E9E9E9
#EEEEEE
#F2F2F2
CSS & SCSS Snippets

Ready-to-use code snippets for #DCDCDC. Click the copy button to copy any snippet to your clipboard.

CSS Properties
/* Background */
.element {
    background-color: #DCDCDC;
}

/* Text */
.element {
    color: #DCDCDC;
}

/* Border */
.element {
    border: 1px solid #DCDCDC;
}
CSS Gradient
/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #DCDCDC,
        #DCDCDC
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #DCDCDC,
        #DCDCDC
    );
}
SCSS Variable
// 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);
}
Color Blindness Simulation

How Gainsboro appears to people with different types of color vision deficiency.

Normal Vision #DCDCDC How the color appears with full color vision.
Deuteranopia #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.
Protanopia #DCDCDC Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
Tritanopia #DCDCDC Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
Achromatopsia #DCDCDC Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
Similar Named Colors

The closest named colors to Gainsboro ranked by perceptual difference (Delta-E 2000 — lower = more similar).

Gainsboro #DCDCDC Base
Light Gray #D3D3D3 ΔE 2.08
Platinum #E5E4E2 ΔE 2.09
Timberwolf #DBD7D2 ΔE 3.02
Munsell #F2F3F4 ΔE 4.99

How to use this color

  1. Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
  2. Use CMYK when preparing print assets (posters, packaging, brochures).
  3. Check contrast before using it for text or important UI elements.