#EC8EA2

A color in the Red, Pink family

#ec8ea2 is a color in the Red, Pink family: RGB(236, 142, 162), HSL(347°, 71%, 74%), CMYK(0%, 40%, 31%, 7%). Closest named color: lightcoral. Contrast is 2.34:1 on white and 8.96:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ec8ea2
RGBrgb(236 142 162)
RGB (legacy)rgb(236, 142, 162)
RGB %rgb(93% 56% 64%)
HSLhsl(347 71% 74%)
HSV / HSBhsv(347, 40%, 93%)
HWBhwb(347 56% 7%)
CMYKcmyk(0%, 40%, 31%, 7%)
CIELAB (D50)lab(69.64 38.25 5.56)
LCHlch(69.64 38.65 8.27)
OKLaboklab(0.7502 0.1151 0.0131)
OKLCHoklch(0.7502 0.1159 6.5)
Decimal15503010

Properties

Color ToneRed, Pink
Closest named colorlightcoral ΔE 4.6
Closest web-safe color#ff9999
Hue347°
Saturation (HSL / HSV)71% / 40%
Lightness (HSL)74%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)68% / 64%
Relative luminance (WCAG)0.3979
Red / Green / Blue236 / 142 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.34:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.96: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 46 / -56.1 · As background with white / black text: Lc -50.9 / 58

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: #ec8ea2;
  --color-brand-oklch: oklch(75.02% 0.1159 6.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 142 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ec8ea2] text-[#ec8ea2] border-[#ec8ea2]">