#EC4DC2#EC4DC2

#EC4DC2 is a light, highly saturated pink. Relative luminance 0.270; OKLCH L 67.7% C 0.228 H 340.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#EC4DC2
RGBrgb(236, 77, 194)
HSLhsl(316, 81%, 61%)
HSVhsv(316, 67%, 93%)
CMYKcmyk(0%, 67.4%, 17.8%, 7.5%)
CIE-LABlab(59.01, 72.02, -28.76)
CIE-LCHlch(59.01, 77.55, 338.23°)
OKLaboklab(67.67% 0.2143 -0.0775)
OKLCHoklch(67.67% 0.228 340.1)
XYZxyz(46.9847, 27.0401, 53.7732)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4DC2 #4DEC77
analogous
#C74DEC #EC4DC2 #EC4D73
triadic
#EC4DC2 #C2EC4D #4DC2EC
tetradic
#EC4DC2 #ECC74D #4DEC77 #4D73EC
square
#EC4DC2 #ECC74D #4DEC77 #4D73EC
split-complementary
#EC4DC2 #73EC4D #4DECC7
monochromatic
#AC1284 #E418AE #EC4DC2 #F284D5 #F8BCE8

Accessibility & contrast

On white

3.28
#EC4DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#EC4DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4DC2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4DC2#FFFFFF#000000##000000
##EC4DC21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#8997BE
Tritanopia (blue-blind)
#F95181
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec4dc2;
/* rgb */ color: rgb(236, 77, 194);
/* oklch */ color: oklch(67.7% 0.228 340.1);
Tailwind
colors: {
  custom: {
    50: '#f68ad4',
    500: '#ec4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ec4dc2;
$custom-light: #f68ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4dc2",
  "rgb": {
    "r": 236,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 315.849,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67668,
    "c": 0.22791,
    "h": 340.1
  },
  "luminance": 0.27036
}

Semantic roles & 50–950 ramp

primary
#EC4DC2
secondary
#ADE8BC
accent
#DD4108
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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