What is hex #D4E4DC color?

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

Hex #D4E4DC Color Codes & Conversions

Closest Named Color
Gainsboro (#DCDCDC)
Hex Code #D4E4DC
Hex8 (RGBA Hex) #D4E4DCFF
RGB (CSS) rgb(212, 228, 220)
RGBA (CSS) rgba(212, 228, 220, 1)
HSL (CSS) hsl(150, 23%, 86%)
HSLA (CSS) hsla(150, 23%, 86%, 1)
HSV / HSB (150°, 7%, 89%)
CMYK Values (7%, 0%, 4%, 11%)
OKLCH (Modern CSS) oklch(90.5% 0.020 164.5)
CIE-LAB (D65) 89.23, -6.80, 2.07
CIE XYZ 67.81, 74.65, 78.53
Decimal / Binary 13952220
11010100 11100100 11011100

Closest Standards & Equivalents

Closest Web Safe
#CCCCCC
Inverse Color
#2B1B23
Complementary Color
#E4D4DC
Closest Pantone®
Pantone 621 C
Closest RAL
RAL 9001 [Cream]

#D4E4DC Grayscale Equivalents

Average
#DCDCDC [Gainsboro]
Lightness (Desaturation)
#DCDCDC [Gainsboro]
Weighted (BT601)
#DEDEDE
Luma (BT709)
#E0E0E0

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #D4E4DC.

Contrast Ratio: 1.32:1
AA Fail AAA Fail

Black Text on #D4E4DC

Sample preview of readable typography on top of #D4E4DC.

Contrast Ratio: 15.93:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #D4E4DC

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

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

Hex #D4E4DC Color Palettes

Complementary Palette

The complementary color of #D4E4DC is #E4D4DC. 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 #D4E4DC pairs with #D4E4D4 and #D4E4E4, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #D4E4DC uses #E4DCD4 and #DCD4E4, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #D4E4DC combines #DCD4E4, #E4D4DC and #DCE4D4 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #D4E4DC pairs with #D4D4E4, #E4D4DC and #E4E4D4 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #D4E4DC

Tints

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

Tones

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

Shades

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

Hex #D4E4DC in Programming & CSS Frameworks

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

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