#EC8DCE#EC8DCE

#EC8DCE is a light, vivid pink. Relative luminance 0.413; OKLCH L 76.3% C 0.140 H 339.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#EC8DCE
RGBrgb(236, 141, 206)
HSLhsl(319, 71%, 74%)
HSVhsv(319, 40%, 93%)
CMYKcmyk(0%, 40.3%, 12.7%, 7.5%)
CIE-LABlab(70.41, 44.83, -18.06)
CIE-LCHlch(70.41, 48.33, 338.06°)
OKLaboklab(76.28% 0.131 -0.0482)
OKLCHoklch(76.28% 0.14 339.8)
XYZxyz(55.2578, 41.3421, 63.4499)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8DCE #8DECAB
analogous
#DB8DEC #EC8DCE #EC8D9F
triadic
#EC8DCE #CEEC8D #8DCEEC
tetradic
#EC8DCE #ECDB8D #8DECAB #8D9FEC
square
#EC8DCE #ECDB8D #8DECAB #8D9FEC
split-complementary
#EC8DCE #9FEC8D #8DECDB
monochromatic
#DA24A1 #E359B7 #EC8DCE #F5C1E5 #FBE5F4

Accessibility & contrast

On white

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

On black

9.27
#EC8DCE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8DCE
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8DCE#FFFFFF#000000##000000
##EC8DCE1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3D0
Deuteranopia (green-blind)
#A9B2CB
Tritanopia (blue-blind)
#F68FA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ec8dce;
/* rgb */ color: rgb(236, 141, 206);
/* oklch */ color: oklch(76.3% 0.140 339.8);
Tailwind
colors: {
  custom: {
    50: '#f4b0dd',
    500: '#ec8dce',
    950: '#000000',
  },
}
SCSS
$custom: #ec8dce;
$custom-light: #f4b0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8dce",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 206
  },
  "hsl": {
    "h": 318.947,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7628,
    "c": 0.1396,
    "h": 339.8
  },
  "luminance": 0.41339
}

Semantic roles & 50–950 ramp

primary
#EC8DCE
secondary
#D9F2E1
accent
#D34F12
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC8DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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