What is hex #D4E4E4 color?
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 89% blue, resulting in rgb(212, 228, 228) and hsl(180, 23%, 86%).
For print media and manufacturing layout, the CMYK equivalent is (7%, 0%, 0%, 11%).
In the HSV/HSB scale, #D4E4E4 features a hue of 180°, 7% saturation, and 89% brightness.
Hex #D4E4E4 Color Codes & Conversions
| Closest Named Color | Gainsboro (#DCDCDC) |
| Hex Code | #D4E4E4 |
| Hex8 (RGBA Hex) | #D4E4E4FF |
| RGB (CSS) | rgb(212, 228, 228) |
| RGBA (CSS) | rgba(212, 228, 228, 1) |
| HSL (CSS) | hsl(180, 23%, 86%) |
| HSLA (CSS) | hsla(180, 23%, 86%, 1) |
| HSV / HSB | (180°, 7%, 89%) |
| CMYK Values | (7%, 0%, 0%, 11%) |
| OKLCH (Modern CSS) | oklch(90.7% 0.017 196.9) |
| CIE-LAB (D65) | 89.43, -5.30, -1.83 |
| CIE XYZ | 68.90, 75.08, 84.25 |
| Decimal / Binary |
13952228
11010100 11100100 11100100 |
Closest Standards & Equivalents
| Closest Web Safe | #CCCCCC |
| Inverse Color | #2B1B1B |
| Complementary Color | #E4D4D4 |
| Closest Pantone® | Pantone 7541 C |
| Closest RAL | RAL 9003 [Signal white] |
#D4E4E4 Grayscale Equivalents
| Average | #DFDFDF |
| Lightness (Desaturation) | #DCDCDC [Gainsboro] |
| Weighted (BT601) | #DFDFDF |
| Luma (BT709) | #E1E1E1 |
WCAG 2.1 Color Contrast & Accessibility
Check how #D4E4E4 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 #D4E4E4
Sample preview of readable typography on top of #D4E4E4.
Black Text on #D4E4E4
Sample preview of readable typography on top of #D4E4E4.
HTML / CSS Live Previews & Snippets for #D4E4E4
Preview #D4E4E4 in real UI elements and copy ready-to-use CSS rules.
background-color: #D4E4E4;
color: #D4E4E4;
border: 2px solid #D4E4E4;
:root {
--color-primary: #D4E4E4;
--color-primary-rgb: 212, 228, 228;
--color-complementary: #E4D4D4;
}
.btn-accent {
background-color: #D4E4E4;
color: #000000;
}
Hex #D4E4E4 Color Palettes
Complementary Palette
The complementary color of #D4E4E4 is #E4D4D4. 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 #D4E4E4 pairs with #D4E4DC and #D4DCE4, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #D4E4E4 pairs with #E4DCD4 and #E4D4DC, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #D4E4E4 uses #E4E4D4 and #E4D4E4, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #D4E4E4 combines #E4D4E4, #E4D4D4 and #D4E4D4 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #D4E4E4 pairs with #DCD4E4, #E4D4D4 and #DCE4D4 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #D4E4E4
Tints
Tints are created by mixing #D4E4E4 with white, producing lighter variations.
Tones
Tones are created by mixing #D4E4E4 with gray, softening saturation.
Shades
Shades result from mixing #D4E4E4 with black, creating deeper variations.
Hex #D4E4E4 in Programming & CSS Frameworks
Copy the exact syntax for #D4E4E4 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #D4E4E4 |
| Tailwind CSS | bg-[#D4E4E4] text-[#D4E4E4] |
| Java (AWT) | new Color(212,228,228); |
| Python | Color("#D4E4E4") |
| .NET (C#) | Color.FromArgb(255, 212,228,228); |
| Swift / iOS | UIColor(red: 0.83, green: 0.89, blue: 0.89, alpha: 1) |
| Kotlin / Android | Color.rgb(212, 228, 228) |