#EC5891#EC5891

#EC5891 is a light, vivid pink. Relative luminance 0.269; OKLCH L 67.0% C 0.189 H 359.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#EC5891
RGBrgb(236, 88, 145)
HSLhsl(337, 80%, 64%)
HSVhsv(337, 63%, 93%)
CMYKcmyk(0%, 62.7%, 38.6%, 7.5%)
CIE-LABlab(58.85, 61.81, -0.65)
CIE-LCHlch(58.85, 61.81, 359.40°)
OKLaboklab(66.99% 0.1889 -0.0009)
OKLCHoklch(66.99% 0.189 359.7)
XYZxyz(43.1954, 26.8616, 29.6926)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5891 #58ECB3
analogous
#EC58DB #EC5891 #EC6958
triadic
#EC5891 #91EC58 #5891EC
tetradic
#EC5891 #DBEC58 #58ECB3 #6958EC
square
#EC5891 #DBEC58 #58ECB3 #6958EC
split-complementary
#EC5891 #58EC69 #58DBEC
monochromatic
#B51552 #E6216D #EC5891 #F28FB5 #F9C6D9

Accessibility & contrast

On white

3.30
#EC5891 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#EC5891 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5891
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5891#FFFFFF#000000##000000
##EC58911.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#737C93
Deuteranopia (green-blind)
#9B988E
Tritanopia (blue-blind)
#FE496F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5891;
/* rgb */ color: rgb(236, 88, 145);
/* oklch */ color: oklch(67.0% 0.189 359.7);
Tailwind
colors: {
  custom: {
    50: '#f78fb1',
    500: '#ec5891',
    950: '#000000',
  },
}
SCSS
$custom: #ec5891;
$custom-light: #f78fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5891",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 145
  },
  "hsl": {
    "h": 336.892,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.1889,
    "h": 359.7
  },
  "luminance": 0.26857
}

Semantic roles & 50–950 ramp

primary
#EC5891
secondary
#B6EAD6
accent
#DC8B0A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5891

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

Preview Lab → · Contrast checker → · Palette generator →

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