#EC4D8E#EC4D8E

#EC4D8E is a light, highly saturated pink. Relative luminance 0.251; OKLCH L 65.7% C 0.202 H 359.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#EC4D8E
RGBrgb(236, 77, 142)
HSLhsl(335, 81%, 61%)
HSVhsv(335, 67%, 93%)
CMYKcmyk(0%, 67.4%, 39.8%, 7.5%)
CIE-LABlab(57.17, 65.84, -1.35)
CIE-LCHlch(57.17, 65.85, 358.83°)
OKLaboklab(65.72% 0.2017 -0.0027)
OKLCHoklch(65.72% 0.202 359.2)
XYZxyz(42.1313, 25.0987, 28.2118)
Luminance0.2509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4D8E #4DECAB
analogous
#EC4DDD #EC4D8E #EC5C4D
triadic
#EC4D8E #8EEC4D #4D8EEC
tetradic
#EC4D8E #DDEC4D #4DECAB #5C4DEC
square
#EC4D8E #DDEC4D #4DECAB #5C4DEC
split-complementary
#EC4D8E #4DEC5C #4DDDEC
monochromatic
#AC1251 #E4186B #EC4D8E #F284B1 #F8BCD4

Accessibility & contrast

On white

3.49
#EC4D8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#EC4D8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4D8E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4D8E#FFFFFF#000000##000000
##EC4D8E1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#97948A
Tritanopia (blue-blind)
#FF3B68
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4d8e;
/* rgb */ color: rgb(236, 77, 142);
/* oklch */ color: oklch(65.7% 0.202 359.2);
Tailwind
colors: {
  custom: {
    50: '#f789ae',
    500: '#ec4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #ec4d8e;
$custom-light: #f789ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4d8e",
  "rgb": {
    "r": 236,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 335.472,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65716,
    "c": 0.20167,
    "h": 359.2
  },
  "luminance": 0.25094
}

Semantic roles & 50–950 ramp

primary
#EC4D8E
secondary
#ADE8D0
accent
#DD8608
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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