#ECC4E2

A color in the Purple, Crimson, Magenta family

#ecc4e2 is a color in the Purple, Crimson, Magenta family: RGB(236, 196, 226), HSL(315°, 51%, 85%), CMYK(0%, 17%, 4%, 7%). Closest named color: thistle. Contrast is 1.55:1 on white and 13.56:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecc4e2
RGBrgb(236 196 226)
RGB (legacy)rgb(236, 196, 226)
RGB %rgb(93% 77% 89%)
HSLhsl(315 51% 85%)
HSV / HSBhsv(315, 17%, 93%)
HWBhwb(315 77% 7%)
CMYKcmyk(0%, 17%, 4%, 7%)
CIELAB (D50)lab(83.36 18.33 -9.37)
LCHlch(83.36 20.58 332.92)
OKLaboklab(0.8637 0.0543 -0.0253)
OKLCHoklch(0.8637 0.0599 335)
Decimal15516898

Properties

Color TonePurple, Crimson, Magenta
Closest named colorthistle ΔE 3.5
Closest web-safe color#ffcccc
Hue315°
Saturation (HSL / HSV)51% / 17%
Lightness (HSL)85%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)83% / 81%
Relative luminance (WCAG)0.628
Red / Green / Blue236 / 196 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.55:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
13.56: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 25.2 / -77.9 · As background with white / black text: Lc -28.5 / 78.5

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