#EBE2E4

A color in the Red, Pink family

#ebe2e4 is a color in the Red, Pink family: RGB(235, 226, 228), HSL(347°, 18%, 90%), CMYK(0%, 4%, 3%, 8%). Closest named color: gainsboro. Contrast is 1.27:1 on white and 16.53:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ebe2e4
RGBrgb(235 226 228)
RGB (legacy)rgb(235, 226, 228)
RGB %rgb(92% 89% 89%)
HSLhsl(347 18% 90%)
HSV / HSBhsv(347, 4%, 92%)
HWBhwb(347 89% 8%)
CMYKcmyk(0%, 4%, 3%, 8%)
CIELAB (D50)lab(90.65 3.42 0.17)
LCHlch(90.65 3.43 2.82)
OKLaboklab(0.9204 0.0101 0.0004)
OKLCHoklch(0.9204 0.0101 2)
Decimal15459044

Properties

Color ToneRed, Pink
Closest named colorgainsboro ΔE 2.8
Closest web-safe color#ffcccc
Hue347°
Saturation (HSL / HSV)18% / 4%
Lightness (HSL)90%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)90% / 89%
Relative luminance (WCAG)0.7766
Red / Green / Blue235 / 226 / 228

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.53:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 13.4 / -90.5 · As background with white / black text: Lc -15.5 / 90.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ebe2e4;
  --color-brand-oklch: oklch(92.04% 0.0101 2);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(235 226 228 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ebe2e4] text-[#ebe2e4] border-[#ebe2e4]">