#EC4DB2#EC4DB2

#EC4DB2 is a light, highly saturated pink. Relative luminance 0.264; OKLCH L 67.0% C 0.218 H 345.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#EC4DB2
RGBrgb(236, 77, 178)
HSLhsl(322, 81%, 61%)
HSVhsv(322, 67%, 93%)
CMYKcmyk(0%, 67.4%, 24.6%, 7.5%)
CIE-LABlab(58.38, 69.93, -20.53)
CIE-LCHlch(58.38, 72.88, 343.63°)
OKLaboklab(67% 0.2113 -0.0545)
OKLCHoklch(67% 0.218 345.5)
XYZxyz(45.2836, 26.3596, 44.8139)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4DB2 #4DEC87
analogous
#D74DEC #EC4DB2 #EC4D63
triadic
#EC4DB2 #B2EC4D #4DB2EC
tetradic
#EC4DB2 #ECD74D #4DEC87 #4D63EC
square
#EC4DB2 #ECD74D #4DEC87 #4D63EC
split-complementary
#EC4DB2 #63EC4D #4DECD7
monochromatic
#AC1274 #E41899 #EC4DB2 #F284CA #F8BCE2

Accessibility & contrast

On white

3.35
#EC4DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#EC4DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4DB2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4DB2#FFFFFF#000000##000000
##EC4DB21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#8E96AE
Tritanopia (blue-blind)
#FB4A79
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec4db2;
/* rgb */ color: rgb(236, 77, 178);
/* oklch */ color: oklch(67.0% 0.218 345.5);
Tailwind
colors: {
  custom: {
    50: '#f68ac9',
    500: '#ec4db2',
    950: '#000000',
  },
}
SCSS
$custom: #ec4db2;
$custom-light: #f68ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4db2",
  "rgb": {
    "r": 236,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 321.887,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66997,
    "c": 0.21824,
    "h": 345.5
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

primary
#EC4DB2
secondary
#ADE8C2
accent
#DD5608
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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