#ECD4E2

A color in the Purple, Crimson, Magenta family

#ecd4e2 is a color in the Purple, Crimson, Magenta family: RGB(236, 212, 226), HSL(325°, 39%, 88%), CMYK(0%, 10%, 4%, 7%). Closest named color: gainsboro. Contrast is 1.39:1 on white and 15.08:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecd4e2
RGBrgb(236 212 226)
RGB (legacy)rgb(236, 212, 226)
RGB %rgb(93% 83% 89%)
HSLhsl(325 39% 88%)
HSV / HSBhsv(325, 10%, 93%)
HWBhwb(325 83% 7%)
CMYKcmyk(0%, 10%, 4%, 7%)
CIELAB (D50)lab(87.23 10.37 -3.72)
LCHlch(87.23 11.01 340.26)
OKLaboklab(0.8937 0.0307 -0.0101)
OKLCHoklch(0.8937 0.0323 341.84)
Decimal15520994

Properties

Color TonePurple, Crimson, Magenta
Closest named colorgainsboro ΔE 3.2
Closest web-safe color#ffcccc
Hue325°
Saturation (HSL / HSV)39% / 10%
Lightness (HSL)88%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)87% / 86%
Relative luminance (WCAG)0.7041
Red / Green / Blue236 / 212 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.08: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 19.1 / -84.4 · As background with white / black text: Lc -21.8 / 84.6

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: #ecd4e2;
  --color-brand-oklch: oklch(89.37% 0.0323 341.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 212 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecd4e2] text-[#ecd4e2] border-[#ecd4e2]">