#EC5C91#EC5C91

#EC5C91 is a light, vivid pink. Relative luminance 0.275; OKLCH L 67.4% C 0.184 H 0.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#EC5C91
RGBrgb(236, 92, 145)
HSLhsl(338, 79%, 64%)
HSVhsv(338, 61%, 93%)
CMYKcmyk(0%, 61%, 38.6%, 7.5%)
CIE-LABlab(59.47, 60.12, 0.26)
CIE-LCHlch(59.47, 60.12, 0.24°)
OKLaboklab(67.45% 0.1836 0.0014)
OKLCHoklch(67.45% 0.184 0.4)
XYZxyz(43.5328, 27.5364, 29.8051)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C91 #5CECB7
analogous
#EC5CD9 #EC5C91 #EC6F5C
triadic
#EC5C91 #91EC5C #5C91EC
tetradic
#EC5C91 #D9EC5C #5CECB7 #6F5CEC
square
#EC5C91 #D9EC5C #5CECB7 #6F5CEC
split-complementary
#EC5C91 #5CEC6F #5CD9EC
monochromatic
#B81551 #E6256C #EC5C91 #F293B6 #F9CADB

Accessibility & contrast

On white

3.23
#EC5C91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#EC5C91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C91
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C91#FFFFFF#000000##000000
##EC5C911.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#767E92
Deuteranopia (green-blind)
#9D998E
Tritanopia (blue-blind)
#FE4E71
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c91;
/* rgb */ color: rgb(236, 92, 145);
/* oklch */ color: oklch(67.4% 0.184 0.4);
Tailwind
colors: {
  custom: {
    50: '#f791b1',
    500: '#ec5c91',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c91;
$custom-light: #f791b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c91",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 145
  },
  "hsl": {
    "h": 337.917,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.18362,
    "h": 0.4
  },
  "luminance": 0.27531
}

Semantic roles & 50–950 ramp

primary
#EC5C91
secondary
#B9EBD8
accent
#DB8E0A
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5C91

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

Preview Lab → · Contrast checker → · Palette generator →

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