#EC5799#EC5799

#EC5799 is a light, vivid pink. Relative luminance 0.269; OKLCH L 67.1% C 0.193 H 356.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#EC5799
RGBrgb(236, 87, 153)
HSLhsl(333, 80%, 63%)
HSVhsv(333, 63%, 93%)
CMYKcmyk(0%, 63.1%, 35.2%, 7.5%)
CIE-LABlab(58.93, 63.08, -5.19)
CIE-LCHlch(58.93, 63.29, 355.30°)
OKLaboklab(67.13% 0.1927 -0.0129)
OKLCHoklch(67.13% 0.193 356.2)
XYZxyz(43.7525, 26.9540, 33.0293)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5799 #57ECAA
analogous
#EC57E3 #EC5799 #EC5F57
triadic
#EC5799 #99EC57 #5799EC
tetradic
#EC5799 #E3EC57 #57ECAA #5F57EC
square
#EC5799 #E3EC57 #57ECAA #5F57EC
split-complementary
#EC5799 #57EC5F #57E3EC
monochromatic
#B4145B #E62078 #EC5799 #F28EBA #F8C5DC

Accessibility & contrast

On white

3.29
#EC5799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#EC5799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5799
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5799#FFFFFF#000000##000000
##EC57991.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#707C9B
Deuteranopia (green-blind)
#999896
Tritanopia (blue-blind)
#FE4B71
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5799;
/* rgb */ color: rgb(236, 87, 153);
/* oklch */ color: oklch(67.1% 0.193 356.2);
Tailwind
colors: {
  custom: {
    50: '#f78eb7',
    500: '#ec5799',
    950: '#000000',
  },
}
SCSS
$custom: #ec5799;
$custom-light: #f78eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5799",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 333.423,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67126,
    "c": 0.19315,
    "h": 356.2
  },
  "luminance": 0.26949
}

Semantic roles & 50–950 ramp

primary
#EC5799
secondary
#B5EAD2
accent
#DC7F0A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5799

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

Preview Lab → · Contrast checker → · Palette generator →

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