#EC4DC7#EC4DC7

#EC4DC7 is a light, highly saturated pink. Relative luminance 0.273; OKLCH L 67.9% C 0.231 H 338.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#EC4DC7
RGBrgb(236, 77, 199)
HSLhsl(314, 81%, 61%)
HSVhsv(314, 67%, 93%)
CMYKcmyk(0%, 67.4%, 15.7%, 7.5%)
CIE-LABlab(59.22, 72.71, -31.29)
CIE-LCHlch(59.22, 79.15, 336.72°)
OKLaboklab(67.89% 0.2151 -0.0847)
OKLCHoklch(67.89% 0.231 338.5)
XYZxyz(47.5557, 27.2685, 56.7805)
Luminance0.2726 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4DC7 #4DEC72
analogous
#C24DEC #EC4DC7 #EC4D78
triadic
#EC4DC7 #C7EC4D #4DC7EC
tetradic
#EC4DC7 #ECC24D #4DEC72 #4D78EC
square
#EC4DC7 #ECC24D #4DEC72 #4D78EC
split-complementary
#EC4DC7 #78EC4D #4DECC2
monochromatic
#AC1288 #E418B4 #EC4DC7 #F284D8 #F8BCEA

Accessibility & contrast

On white

3.25
#EC4DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#EC4DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4DC7
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4DC7#FFFFFF#000000##000000
##EC4DC71.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#8798C3
Tritanopia (blue-blind)
#F95483
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec4dc7;
/* rgb */ color: rgb(236, 77, 199);
/* oklch */ color: oklch(67.9% 0.231 338.5);
Tailwind
colors: {
  custom: {
    50: '#f68ad8',
    500: '#ec4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #ec4dc7;
$custom-light: #f68ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4dc7",
  "rgb": {
    "r": 236,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 313.962,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6789,
    "c": 0.23116,
    "h": 338.5
  },
  "luminance": 0.27264
}

Semantic roles & 50–950 ramp

primary
#EC4DC7
secondary
#ADE8BB
accent
#DD3A08
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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