#EC5F91#EC5F91

#EC5F91 is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.8% C 0.180 H 1.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#EC5F91
RGBrgb(236, 95, 145)
HSLhsl(339, 79%, 65%)
HSVhsv(339, 60%, 93%)
CMYKcmyk(0%, 59.7%, 38.6%, 7.5%)
CIE-LABlab(59.95, 58.83, 0.96)
CIE-LCHlch(59.95, 58.84, 0.93°)
OKLaboklab(67.81% 0.1795 0.0032)
OKLCHoklch(67.81% 0.18 1)
XYZxyz(43.7978, 28.0665, 29.8934)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F91 #5FECBA
analogous
#EC5FD8 #EC5F91 #EC735F
triadic
#EC5F91 #91EC5F #5F91EC
tetradic
#EC5F91 #D8EC5F #5FECBA #735FEC
square
#EC5F91 #D8EC5F #5FECBA #735FEC
split-complementary
#EC5F91 #5FEC73 #5FD8EC
monochromatic
#BA1650 #E6286B #EC5F91 #F296B7 #F9CCDC

Accessibility & contrast

On white

3.18
#EC5F91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#EC5F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F91
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F91#FFFFFF#000000##000000
##EC5F911.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798092
Deuteranopia (green-blind)
#9E9A8E
Tritanopia (blue-blind)
#FE5172
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5f91;
/* rgb */ color: rgb(236, 95, 145);
/* oklch */ color: oklch(67.8% 0.180 1.0);
Tailwind
colors: {
  custom: {
    50: '#f793b1',
    500: '#ec5f91',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f91;
$custom-light: #f793b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f91",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 338.723,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67805,
    "c": 0.17958,
    "h": 1
  },
  "luminance": 0.28062
}

Semantic roles & 50–950 ramp

primary
#EC5F91
secondary
#BBEBDA
accent
#DB910A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5F91

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

Preview Lab → · Contrast checker → · Palette generator →

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