What is hex #D8D4E2 color?

 
The hex code #D8D4E2 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 85% red, 83% green and 89% blue, resulting in rgb(216, 212, 226) and hsl(257, 19%, 86%).
For print media and manufacturing layout, the CMYK equivalent is (4%, 6%, 0%, 11%).
In the HSV/HSB scale, #D8D4E2 features a hue of 257°, 6% saturation, and 89% brightness.

Hex #D8D4E2 Color Codes & Conversions

Closest Named Color
Gainsboro (#DCDCDC)
Hex Code #D8D4E2
Hex8 (RGBA Hex) #D8D4E2FF
RGB (CSS) rgb(216, 212, 226)
RGBA (CSS) rgba(216, 212, 226, 1)
HSL (CSS) hsl(257, 19%, 86%)
HSLA (CSS) hsla(257, 19%, 86%, 1)
HSV / HSB (257°, 6%, 89%)
CMYK Values (4%, 6%, 0%, 11%)
OKLCH (Modern CSS) oklch(87.7% 0.020 299.0)
CIE-LAB (D65) 85.59, 3.94, -6.39
CIE XYZ 65.59, 67.18, 81.45
Decimal / Binary 14210274
11011000 11010100 11100010

Closest Standards & Equivalents

Closest Web Safe
#CCCCCC
Inverse Color
#272B1D
Complementary Color
#DEE2D4
Closest Pantone®
Pantone 5315 C
Closest RAL
RAL 9002 [Grey white]

#D8D4E2 Grayscale Equivalents

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

WCAG 2.1 Color Contrast & Accessibility

Check how #D8D4E2 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 #D8D4E2

Sample preview of readable typography on top of #D8D4E2.

Contrast Ratio: 1.45:1
AA Fail AAA Fail

Black Text on #D8D4E2

Sample preview of readable typography on top of #D8D4E2.

Contrast Ratio: 14.44:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #D8D4E2

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

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

Hex #D8D4E2 Color Palettes

Complementary Palette

The complementary color of #D8D4E2 is #DEE2D4. 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 #D8D4E2 pairs with #D4D7E2 and #DFD4E2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #D8D4E2 uses #D4E2D8 and #E2D8D4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D8D4E2 combines #E2D8D4, #DEE2D4 and #D4DEE2 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D8D4E2 pairs with #E2D4D7, #DEE2D4 and #D4E2DF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D8D4E2

Tints

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

Tones

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

Shades

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

Hex #D8D4E2 in Programming & CSS Frameworks

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

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