#EC8CC2#EC8CC2

#EC8CC2 is a light, vivid pink. Relative luminance 0.405; OKLCH L 75.7% C 0.133 H 345.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#EC8CC2
RGBrgb(236, 140, 194)
HSLhsl(326, 72%, 74%)
HSVhsv(326, 41%, 93%)
CMYKcmyk(0%, 40.7%, 17.8%, 7.5%)
CIE-LABlab(69.82, 43.48, -12.30)
CIE-LCHlch(69.82, 45.18, 344.21°)
OKLaboklab(75.7% 0.129 -0.0323)
OKLCHoklch(75.7% 0.133 345.9)
XYZxyz(53.7085, 40.4876, 56.0145)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CC2 #8CECB6
analogous
#E68CEC #EC8CC2 #EC8C92
triadic
#EC8CC2 #C2EC8C #8CC2EC
tetradic
#EC8CC2 #ECE68C #8CECB6 #8C92EC
square
#EC8CC2 #ECE68C #8CECB6 #8C92EC
split-complementary
#EC8CC2 #92EC8C #8CECE6
monochromatic
#DA248A #E357A6 #EC8CC2 #F5C1DE #FBE5F1

Accessibility & contrast

On white

2.31
#EC8CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#EC8CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CC2
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CC2#FFFFFF#000000##000000
##EC8CC21.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A1C4
Deuteranopia (green-blind)
#ACB0BF
Tritanopia (blue-blind)
#F88BA0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec8cc2;
/* rgb */ color: rgb(236, 140, 194);
/* oklch */ color: oklch(75.7% 0.133 345.9);
Tailwind
colors: {
  custom: {
    50: '#f4afd4',
    500: '#ec8cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cc2;
$custom-light: #f4afd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cc2",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 194
  },
  "hsl": {
    "h": 326.25,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75698,
    "c": 0.13301,
    "h": 345.9
  },
  "luminance": 0.40484
}

Semantic roles & 50–950 ramp

primary
#EC8CC2
secondary
#D9F2E4
accent
#D46712
background
#FFFAFD
surface
#FEF5FA
border
#D6CFD3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC8CC2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EC8CC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva