#ECB4E4

A color in the Purple, Crimson, Magenta family

#ecb4e4 is a color in the Purple, Crimson, Magenta family: RGB(236, 180, 228), HSL(309°, 60%, 82%), CMYK(0%, 24%, 3%, 7%). Closest named color: thistle. Contrast is 1.72:1 on white and 12.22:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ecb4e4
RGBrgb(236 180 228)
RGB (legacy)rgb(236, 180, 228)
RGB %rgb(93% 71% 89%)
HSLhsl(309 60% 82%)
HSV / HSBhsv(309, 24%, 93%)
HWBhwb(309 71% 7%)
CMYKcmyk(0%, 24%, 3%, 7%)
CIELAB (D50)lab(79.66 26.64 -15.91)
LCHlch(79.66 31.03 329.15)
OKLaboklab(0.8355 0.0788 -0.0432)
OKLCHoklch(0.8355 0.0899 331.29)
Decimal15512804

Properties

Color TonePurple, Crimson, Magenta
Closest named colorthistle ΔE 4.6
Closest web-safe color#ffcccc
Hue309°
Saturation (HSL / HSV)60% / 24%
Lightness (HSL)82%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)79% / 77%
Relative luminance (WCAG)0.5608
Red / Green / Blue236 / 180 / 228

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.72:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.22: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 30.9 / -71.8 · As background with white / black text: Lc -34.8 / 72.9

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: #ecb4e4;
  --color-brand-oklch: oklch(83.55% 0.0899 331.29);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 180 228 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecb4e4] text-[#ecb4e4] border-[#ecb4e4]">