#EEC4E2

A color in the Purple, Crimson, Magenta family

#eec4e2 is a color in the Purple, Crimson, Magenta family: RGB(238, 196, 226), HSL(317°, 55%, 85%), CMYK(0%, 18%, 5%, 7%). Closest named color: pink. Contrast is 1.54:1 on white and 13.63:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#eec4e2
RGBrgb(238 196 226)
RGB (legacy)rgb(238, 196, 226)
RGB %rgb(93% 77% 89%)
HSLhsl(317 55% 85%)
HSV / HSBhsv(317, 18%, 93%)
HWBhwb(317 77% 7%)
CMYKcmyk(0%, 18%, 5%, 7%)
CIELAB (D50)lab(83.55 19.03 -9.06)
LCHlch(83.55 21.08 334.54)
OKLaboklab(0.8655 0.0565 -0.0245)
OKLCHoklch(0.8655 0.0616 336.53)
Decimal15647970

Properties

Color TonePurple, Crimson, Magenta
Closest named colorpink ΔE 3.7
Closest web-safe color#ffcccc
Hue317°
Saturation (HSL / HSV)55% / 18%
Lightness (HSL)85%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)83% / 81%
Relative luminance (WCAG)0.6315
Red / Green / Blue238 / 196 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.54:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.63: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 24.9 / -78.2 · As background with white / black text: Lc -28.2 / 78.8

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: #eec4e2;
  --color-brand-oklch: oklch(86.55% 0.0616 336.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(238 196 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#eec4e2] text-[#eec4e2] border-[#eec4e2]">