#EC8DCD#EC8DCD

#EC8DCD is a light, vivid pink. Relative luminance 0.413; OKLCH L 76.2% C 0.139 H 340.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#EC8DCD
RGBrgb(236, 141, 205)
HSLhsl(320, 71%, 74%)
HSVhsv(320, 40%, 93%)
CMYKcmyk(0%, 40.3%, 13.1%, 7.5%)
CIE-LABlab(70.38, 44.67, -17.56)
CIE-LCHlch(70.38, 48.00, 338.54°)
OKLaboklab(76.24% 0.1308 -0.0468)
OKLCHoklch(76.24% 0.139 340.3)
XYZxyz(55.1367, 41.2937, 62.8121)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DCD #8DECAC
analogous
#DC8DEC #EC8DCD #EC8D9E
triadic
#EC8DCD #CDEC8D #8DCDEC
tetradic
#EC8DCD #ECDC8D #8DECAC #8D9EEC
square
#EC8DCD #ECDC8D #8DECAC #8D9EEC
split-complementary
#EC8DCD #9EEC8D #8DECDC
monochromatic
#DA249F #E359B6 #EC8DCD #F5C1E4 #FBE5F3

Accessibility & contrast

On white

2.27
#EC8DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#EC8DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DCD
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DCD#FFFFFF#000000##000000
##EC8DCD1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CF
Deuteranopia (green-blind)
#A9B2CA
Tritanopia (blue-blind)
#F68EA4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8dcd;
/* rgb */ color: rgb(236, 141, 205);
/* oklch */ color: oklch(76.2% 0.139 340.3);
Tailwind
colors: {
  custom: {
    50: '#f4b0dc',
    500: '#ec8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ec8dcd;
$custom-light: #f4b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8dcd",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 319.579,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76244,
    "c": 0.13887,
    "h": 340.3
  },
  "luminance": 0.4129
}

Semantic roles & 50–950 ramp

primary
#EC8DCD
secondary
#D9F2E1
accent
#D35112
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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