What is hex #DCD8DC color?

 
The hex code #DCD8DC is closest to the named color Gainsboro (#DCDCDC).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 86% red, 85% green and 86% blue, resulting in rgb(220, 216, 220) and hsl(300, 5%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 2%, 0%, 14%).
In the HSV/HSB scale, #DCD8DC features a hue of 300°, 2% saturation, and 86% brightness.

Hex #DCD8DC Color Codes & Conversions

Closest Named Color
Gainsboro (#DCDCDC)
Hex Code #DCD8DC
Hex8 (RGBA Hex) #DCD8DCFF
RGB (CSS) rgb(220, 216, 220)
RGBA (CSS) rgba(220, 216, 220, 1)
HSL (CSS) hsl(300, 5%, 85%)
HSLA (CSS) hsla(300, 5%, 85%, 1)
HSV / HSB (300°, 2%, 86%)
CMYK Values (0%, 2%, 0%, 14%)
OKLCH (Modern CSS) oklch(88.7% 0.007 325.6)
CIE-LAB (D65) 86.75, 2.08, -1.48
CIE XYZ 66.99, 69.49, 77.58
Decimal / Binary 14473436
11011100 11011000 11011100

Closest Standards & Equivalents

Closest Web Safe
#CCCCCC
Inverse Color
#232723
Complementary Color
#D8DCD8
Closest Pantone®
Pantone 5315 C
Closest RAL
RAL 9002 [Grey white]

#DCD8DC Grayscale Equivalents

Average
#DBDBDB
Lightness (Desaturation)
#DADADA
Weighted (BT601)
#DADADA
Luma (BT709)
#D9D9D9

WCAG 2.1 Color Contrast & Accessibility

Check how #DCD8DC complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #DCD8DC

Sample preview of readable typography on top of #DCD8DC.

Contrast Ratio: 1.41:1
AA Fail AAA Fail

Black Text on #DCD8DC

Sample preview of readable typography on top of #DCD8DC.

Contrast Ratio: 14.9:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #DCD8DC

Preview #DCD8DC in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #DCD8DC;
Typography Color Preview
color: #DCD8DC;
Border & Shadow Preview
border: 2px solid #DCD8DC;
CSS Custom Properties & Gradient
:root {
  --color-primary: #DCD8DC;
  --color-primary-rgb: 220, 216, 220;
  --color-complementary: #D8DCD8;
}
.btn-accent {
  background-color: #DCD8DC;
  color: #000000;
}

Hex #DCD8DC Color Palettes

Complementary Palette

The complementary color of #DCD8DC is #D8DCD8. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #DCD8DC pairs with #DAD8DC and #DCD8DA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #DCD8DC pairs with #D8DCDA and #DADCD8, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #DCD8DC uses #D8DCDC and #DCDCD8, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #DCD8DC combines #DCDCD8, #D8DCD8 and #D8D8DC around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #DCD8DC pairs with #DCDAD8, #D8DCD8 and #D8DADC spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #DCD8DC

Tints

Tints are created by mixing #DCD8DC with white, producing lighter variations.

Tones

Tones are created by mixing #DCD8DC with gray, softening saturation.

Shades

Shades result from mixing #DCD8DC with black, creating deeper variations.

Hex #DCD8DC in Programming & CSS Frameworks

Copy the exact syntax for #DCD8DC in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #DCD8DC
Tailwind CSS bg-[#DCD8DC] text-[#DCD8DC]
Java (AWT) new Color(220,216,220);
Python Color("#DCD8DC")
.NET (C#) Color.FromArgb(255, 220,216,220);
Swift / iOS UIColor(red: 0.86, green: 0.85, blue: 0.86, alpha: 1)
Kotlin / Android Color.rgb(220, 216, 220)