What is hex #E4E2E1 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 89% red, 89% green and 88% blue, resulting in rgb(228, 226, 225) and hsl(20, 5%, 89%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 1%, 1%, 11%).
In the HSV/HSB scale, #E4E2E1 features a hue of 20°, 1% saturation, and 89% brightness.
Hex #E4E2E1 Color Codes & Conversions
| Closest Named Color | Gainsboro (#DCDCDC) |
| Hex Code | #E4E2E1 |
| Hex8 (RGBA Hex) | #E4E2E1FF |
| RGB (CSS) | rgb(228, 226, 225) |
| RGBA (CSS) | rgba(228, 226, 225, 1) |
| HSL (CSS) | hsl(20, 5%, 89%) |
| HSLA (CSS) | hsla(20, 5%, 89%, 1) |
| HSV / HSB | (20°, 1%, 89%) |
| CMYK Values | (0%, 1%, 1%, 11%) |
| OKLCH (Modern CSS) | oklch(91.4% 0.003 48.7) |
| CIE-LAB (D65) | 90.01, 0.50, 0.73 |
| CIE XYZ | 72.78, 76.32, 82.12 |
| Decimal / Binary |
15000289
11100100 11100010 11100001 |
WCAG 2.1 Color Contrast & Accessibility
Check how #E4E2E1 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 #E4E2E1
Sample preview of readable typography on top of #E4E2E1.
Black Text on #E4E2E1
Sample preview of readable typography on top of #E4E2E1.
HTML / CSS Live Previews & Snippets for #E4E2E1
Preview #E4E2E1 in real UI elements and copy ready-to-use CSS rules.
background-color: #E4E2E1;
color: #E4E2E1;
border: 2px solid #E4E2E1;
:root {
--color-primary: #E4E2E1;
--color-primary-rgb: 228, 226, 225;
--color-complementary: #E1E3E4;
}
.btn-accent {
background-color: #E4E2E1;
color: #000000;
}
Hex #E4E2E1 Color Palettes
Complementary Palette
The complementary color of #E4E2E1 is #E1E3E4. 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 #E4E2E1 pairs with #E4E1E1 and #E4E3E1, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #E4E2E1 pairs with #E1E1E4 and #E1E4E3, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #E4E2E1 uses #E2E1E4 and #E1E4E2, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #E4E2E1 combines #E1E4E2, #E1E3E4 and #E4E1E3 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #E4E2E1 pairs with #E1E4E1, #E1E3E4 and #E3E1E4 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #E4E2E1
Tints
Tints are created by mixing #E4E2E1 with white, producing lighter variations.
Shades
Shades result from mixing #E4E2E1 with black, creating deeper variations.
Hex #E4E2E1 in Programming & CSS Frameworks
Copy the exact syntax for #E4E2E1 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #E4E2E1 |
| Tailwind CSS | bg-[#E4E2E1] text-[#E4E2E1] |
| Java (AWT) | new Color(228,226,225); |
| Python | Color("#E4E2E1") |
| .NET (C#) | Color.FromArgb(255, 228,226,225); |
| Swift / iOS | UIColor(red: 0.89, green: 0.89, blue: 0.88, alpha: 1) |
| Kotlin / Android | Color.rgb(228, 226, 225) |