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