#EC4DC6#EC4DC6

#EC4DC6 is a light, highly saturated pink. Relative luminance 0.272; OKLCH L 67.8% C 0.231 H 338.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#EC4DC6
RGBrgb(236, 77, 198)
HSLhsl(314, 81%, 61%)
HSVhsv(314, 67%, 93%)
CMYKcmyk(0%, 67.4%, 16.1%, 7.5%)
CIE-LABlab(59.18, 72.57, -30.78)
CIE-LCHlch(59.18, 78.83, 337.01°)
OKLaboklab(67.85% 0.2149 -0.0832)
OKLCHoklch(67.85% 0.231 338.8)
XYZxyz(47.4400, 27.2222, 56.1711)
Luminance0.2722 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4DC6 #4DEC73
analogous
#C34DEC #EC4DC6 #EC4D77
triadic
#EC4DC6 #C6EC4D #4DC6EC
tetradic
#EC4DC6 #ECC34D #4DEC73 #4D77EC
square
#EC4DC6 #ECC34D #4DEC73 #4D77EC
split-complementary
#EC4DC6 #77EC4D #4DECC3
monochromatic
#AC1287 #E418B3 #EC4DC6 #F284D8 #F8BCE9

Accessibility & contrast

On white

3.26
#EC4DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#EC4DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4DC6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4DC6#FFFFFF#000000##000000
##EC4DC61.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC9
Deuteranopia (green-blind)
#8797C2
Tritanopia (blue-blind)
#F95383
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec4dc6;
/* rgb */ color: rgb(236, 77, 198);
/* oklch */ color: oklch(67.8% 0.231 338.8);
Tailwind
colors: {
  custom: {
    50: '#f68ad7',
    500: '#ec4dc6',
    950: '#000000',
  },
}
SCSS
$custom: #ec4dc6;
$custom-light: #f68ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4dc6",
  "rgb": {
    "r": 236,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 314.34,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.2305,
    "h": 338.8
  },
  "luminance": 0.27218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC4DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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