#ECB4E2

A color in the Purple, Crimson, Magenta family

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

Color Codes

HEX#ecb4e2
RGBrgb(236 180 226)
RGB (legacy)rgb(236, 180, 226)
RGB %rgb(93% 71% 89%)
HSLhsl(311 60% 82%)
HSV / HSBhsv(311, 24%, 93%)
HWBhwb(311 71% 7%)
CMYKcmyk(0%, 24%, 4%, 7%)
CIELAB (D50)lab(79.61 26.37 -14.91)
LCHlch(79.61 30.3 330.51)
OKLaboklab(0.8349 0.0782 -0.0405)
OKLCHoklch(0.8349 0.0881 332.64)
Decimal15512802

Properties

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

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.19: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 31 / -71.7 · As background with white / black text: Lc -34.9 / 72.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: #ecb4e2;
  --color-brand-oklch: oklch(83.49% 0.0881 332.64);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 180 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ecb4e2] text-[#ecb4e2] border-[#ecb4e2]">