#EC8ECD#EC8ECD

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

Color values

HEX#EC8ECD
RGBrgb(236, 142, 205)
HSLhsl(320, 71%, 74%)
HSVhsv(320, 40%, 93%)
CMYKcmyk(0%, 39.8%, 13.1%, 7.5%)
CIE-LABlab(70.59, 44.15, -17.25)
CIE-LCHlch(70.59, 47.40, 338.66°)
OKLaboklab(76.4% 0.1292 -0.0459)
OKLCHoklch(76.4% 0.137 340.4)
XYZxyz(55.2848, 41.5899, 62.8615)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8ECD #8EECAD
analogous
#DC8EEC #EC8ECD #EC8E9E
triadic
#EC8ECD #CDEC8E #8ECDEC
tetradic
#EC8ECD #ECDC8E #8EECAD #8E9EEC
square
#EC8ECD #ECDC8E #8EECAD #8E9EEC
split-complementary
#EC8ECD #9EEC8E #8EECDC
monochromatic
#DA259F #E35AB6 #EC8ECD #F5C2E4 #FBE5F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC8ECD#FFFFFF#000000##000000
##EC8ECD1.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)
#92A4CF
Deuteranopia (green-blind)
#AAB2CA
Tritanopia (blue-blind)
#F68FA5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec8ecd;
/* rgb */ color: rgb(236, 142, 205);
/* oklch */ color: oklch(76.4% 0.137 340.4);
Tailwind
colors: {
  custom: {
    50: '#f4b1dc',
    500: '#ec8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ecd;
$custom-light: #f4b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ecd",
  "rgb": {
    "r": 236,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 319.787,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76399,
    "c": 0.13716,
    "h": 340.4
  },
  "luminance": 0.41587
}

Semantic roles & 50–950 ramp

primary
#EC8ECD
secondary
#D9F2E1
accent
#D35212
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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