#EC4E8E#EC4E8E

#EC4E8E is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 65.8% C 0.200 H 359.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#EC4E8E
RGBrgb(236, 78, 142)
HSLhsl(336, 81%, 62%)
HSVhsv(336, 67%, 93%)
CMYKcmyk(0%, 66.9%, 39.8%, 7.5%)
CIE-LABlab(57.31, 65.46, -1.14)
CIE-LCHlch(57.31, 65.47, 359.00°)
OKLaboklab(65.82% 0.2005 -0.0022)
OKLCHoklch(65.82% 0.2 359.4)
XYZxyz(42.2018, 25.2397, 28.2353)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4E8E #4EECAC
analogous
#EC4EDD #EC4E8E #EC5D4E
triadic
#EC4E8E #8EEC4E #4E8EEC
tetradic
#EC4E8E #DDEC4E #4EECAC #5D4EEC
square
#EC4E8E #DDEC4E #4EECAC #5D4EEC
split-complementary
#EC4E8E #4EEC5D #4EDDEC
monochromatic
#AD1351 #E4196B #EC4E8E #F285B1 #F8BDD5

Accessibility & contrast

On white

3.47
#EC4E8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#EC4E8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4E8E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4E8E#FFFFFF#000000##000000
##EC4E8E1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7690
Deuteranopia (green-blind)
#98958A
Tritanopia (blue-blind)
#FF3C68
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec4e8e;
/* rgb */ color: rgb(236, 78, 142);
/* oklch */ color: oklch(65.8% 0.200 359.4);
Tailwind
colors: {
  custom: {
    50: '#f789ae',
    500: '#ec4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #ec4e8e;
$custom-light: #f789ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4e8e",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 335.696,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65817,
    "c": 0.20047,
    "h": 359.4
  },
  "luminance": 0.25235
}

Semantic roles & 50–950 ramp

primary
#EC4E8E
secondary
#AEE8D0
accent
#DD8709
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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