#EC4989#EC4989

#EC4989 is a light, highly saturated pink. Relative luminance 0.244; OKLCH L 65.2% C 0.205 H 0.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#EC4989
RGBrgb(236, 73, 137)
HSLhsl(336, 81%, 61%)
HSVhsv(336, 69%, 93%)
CMYKcmyk(0%, 69.1%, 41.9%, 7.5%)
CIE-LABlab(56.50, 66.82, 0.61)
CIE-LCHlch(56.50, 66.82, 0.53°)
OKLaboklab(65.17% 0.2047 0.0024)
OKLCHoklch(65.17% 0.205 0.7)
XYZxyz(41.4930, 24.4093, 26.1885)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4989 #49ECAC
analogous
#EC49DA #EC4989 #EC5A49
triadic
#EC4989 #89EC49 #4989EC
tetradic
#EC4989 #DAEC49 #49ECAC #5A49EC
square
#EC4989 #DAEC49 #49ECAC #5A49EC
split-complementary
#EC4989 #49EC5A #49DAEC
monochromatic
#A9124D #E01766 #EC4989 #F280AD #F8B8D1

Accessibility & contrast

On white

3.57
#EC4989 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#EC4989 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4989
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4989#FFFFFF#000000##000000
##EC49891.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B748B
Deuteranopia (green-blind)
#979385
Tritanopia (blue-blind)
#FF3363
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec4989;
/* rgb */ color: rgb(236, 73, 137);
/* oklch */ color: oklch(65.2% 0.205 0.7);
Tailwind
colors: {
  custom: {
    50: '#f887ab',
    500: '#ec4989',
    950: '#000000',
  },
}
SCSS
$custom: #ec4989;
$custom-light: #f887ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4989",
  "rgb": {
    "r": 236,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 336.442,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65169,
    "c": 0.20473,
    "h": 0.7
  },
  "luminance": 0.24404
}

Semantic roles & 50–950 ramp

primary
#EC4989
secondary
#A9E7CF
accent
#DD8A08
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4989

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

Preview Lab → · Contrast checker → · Palette generator →

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