#EC4E8C#EC4E8C

#EC4E8C is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.8% C 0.200 H 0.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#EC4E8C
RGBrgb(236, 78, 140)
HSLhsl(336, 81%, 62%)
HSVhsv(336, 67%, 93%)
CMYKcmyk(0%, 66.9%, 40.7%, 7.5%)
CIE-LABlab(57.25, 65.26, -0.05)
CIE-LCHlch(57.25, 65.26, 359.95°)
OKLaboklab(65.76% 0.1998 0.0006)
OKLCHoklch(65.76% 0.2 0.2)
XYZxyz(42.0530, 25.1802, 27.4516)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4E8C #4EECAE
analogous
#EC4EDB #EC4E8C #EC5F4E
triadic
#EC4E8C #8CEC4E #4E8CEC
tetradic
#EC4E8C #DBEC4E #4EECAE #5F4EEC
square
#EC4E8C #DBEC4E #4EECAE #5F4EEC
split-complementary
#EC4E8C #4EEC5F #4EDBEC
monochromatic
#AD134F #E41968 #EC4E8C #F285B0 #F8BDD4

Accessibility & contrast

On white

3.48
#EC4E8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#EC4E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4E8C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4E8C#FFFFFF#000000##000000
##EC4E8C1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D768E
Deuteranopia (green-blind)
#989588
Tritanopia (blue-blind)
#FF3B67
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ec4e8c;
/* rgb */ color: rgb(236, 78, 140);
/* oklch */ color: oklch(65.8% 0.200 0.2);
Tailwind
colors: {
  custom: {
    50: '#f789ad',
    500: '#ec4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #ec4e8c;
$custom-light: #f789ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4e8c",
  "rgb": {
    "r": 236,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 336.456,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65755,
    "c": 0.19981,
    "h": 0.2
  },
  "luminance": 0.25175
}

Semantic roles & 50–950 ramp

primary
#EC4E8C
secondary
#AEE8D1
accent
#DD8A09
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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