#EC8CD9#EC8CD9

#EC8CD9 is a light, vivid pink. Relative luminance 0.416; OKLCH L 76.5% C 0.150 H 334.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#EC8CD9
RGBrgb(236, 140, 217)
HSLhsl(312, 72%, 74%)
HSVhsv(312, 41%, 93%)
CMYKcmyk(0%, 40.7%, 8.1%, 7.5%)
CIE-LABlab(70.60, 47.14, -23.87)
CIE-LCHlch(70.60, 52.84, 333.14°)
OKLaboklab(76.54% 0.1355 -0.0643)
OKLCHoklch(76.54% 0.15 334.6)
XYZxyz(56.4943, 41.6019, 70.6865)
Luminance0.4160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CD9 #8CEC9F
analogous
#CF8CEC #EC8CD9 #EC8CA9
triadic
#EC8CD9 #D9EC8C #8CD9EC
tetradic
#EC8CD9 #ECCF8C #8CEC9F #8CA9EC
square
#EC8CD9 #ECCF8C #8CEC9F #8CA9EC
split-complementary
#EC8CD9 #A9EC8C #8CECCF
monochromatic
#DA24B6 #E357C8 #EC8CD9 #F5C1EA #FBE5F6

Accessibility & contrast

On white

2.25
#EC8CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#EC8CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CD9
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CD9#FFFFFF#000000##000000
##EC8CD91.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA4DC
Deuteranopia (green-blind)
#A5B2D6
Tritanopia (blue-blind)
#F590A9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec8cd9;
/* rgb */ color: rgb(236, 140, 217);
/* oklch */ color: oklch(76.5% 0.150 334.6);
Tailwind
colors: {
  custom: {
    50: '#f4b0e5',
    500: '#ec8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cd9;
$custom-light: #f4b0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cd9",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 311.875,
    "s": 71.642,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76543,
    "c": 0.14995,
    "h": 334.6
  },
  "luminance": 0.41599
}

Semantic roles & 50–950 ramp

primary
#EC8CD9
secondary
#D9F2DE
accent
#D43812
background
#FFFAFE
surface
#FEF5FC
border
#D6CFD5
text
#171115
muted
#858084

Preview Lab

Preview with #EC8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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