What is hex #EBE2E2 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 92% red, 89% green and 89% blue, resulting in rgb(235, 226, 226) and hsl(0, 18%, 90%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 4%, 4%, 8%).
In the HSV/HSB scale, #EBE2E2 features a hue of 0°, 4% saturation, and 92% brightness.
Hex #EBE2E2 Color Codes & Conversions
| Closest Named Color | Gainsboro (#DCDCDC) |
| Hex Code | #EBE2E2 |
| Hex8 (RGBA Hex) | #EBE2E2FF |
| RGB (CSS) | rgb(235, 226, 226) |
| RGBA (CSS) | rgba(235, 226, 226, 1) |
| HSL (CSS) | hsl(0, 18%, 90%) |
| HSLA (CSS) | hsla(0, 18%, 90%, 1) |
| HSV / HSB | (0°, 4%, 92%) |
| CMYK Values | (0%, 4%, 4%, 8%) |
| OKLCH (Modern CSS) | oklch(92.0% 0.010 17.3) |
| CIE-LAB (D65) | 90.57, 3.05, 1.09 |
| CIE XYZ | 75.18, 77.55, 82.94 |
| Decimal / Binary |
15459042
11101011 11100010 11100010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #EBE2E2 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 #EBE2E2
Sample preview of readable typography on top of #EBE2E2.
Black Text on #EBE2E2
Sample preview of readable typography on top of #EBE2E2.
HTML / CSS Live Previews & Snippets for #EBE2E2
Preview #EBE2E2 in real UI elements and copy ready-to-use CSS rules.
background-color: #EBE2E2;
color: #EBE2E2;
border: 2px solid #EBE2E2;
:root {
--color-primary: #EBE2E2;
--color-primary-rgb: 235, 226, 226;
--color-complementary: #E2EBEB;
}
.btn-accent {
background-color: #EBE2E2;
color: #000000;
}
Hex #EBE2E2 Color Palettes
Complementary Palette
The complementary color of #EBE2E2 is #E2EBEB. 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 #EBE2E2 pairs with #EBE2E6 and #EBE6E2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #EBE2E2 pairs with #E2E6EB and #E2EBE6, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #EBE2E2 uses #E2E2EB and #E2EBE2, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #EBE2E2 combines #E2EBE2, #E2EBEB and #EBE2EB around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #EBE2E2 pairs with #E6EBE2, #E2EBEB and #E6E2EB spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #EBE2E2
Tints
Tints are created by mixing #EBE2E2 with white, producing lighter variations.
Shades
Shades result from mixing #EBE2E2 with black, creating deeper variations.
Hex #EBE2E2 in Programming & CSS Frameworks
Copy the exact syntax for #EBE2E2 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #EBE2E2 |
| Tailwind CSS | bg-[#EBE2E2] text-[#EBE2E2] |
| Java (AWT) | new Color(235,226,226); |
| Python | Color("#EBE2E2") |
| .NET (C#) | Color.FromArgb(255, 235,226,226); |
| Swift / iOS | UIColor(red: 0.92, green: 0.89, blue: 0.89, alpha: 1) |
| Kotlin / Android | Color.rgb(235, 226, 226) |