#EC5798#EC5798

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

Color values

HEX#EC5798
RGBrgb(236, 87, 152)
HSLhsl(334, 80%, 63%)
HSVhsv(334, 63%, 93%)
CMYKcmyk(0%, 63.1%, 35.6%, 7.5%)
CIE-LABlab(58.90, 62.97, -4.65)
CIE-LCHlch(58.90, 63.14, 355.77°)
OKLaboklab(67.09% 0.1924 -0.0114)
OKLCHoklch(67.09% 0.193 356.6)
XYZxyz(43.6703, 26.9211, 32.5962)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5798 #57ECAB
analogous
#EC57E2 #EC5798 #EC6057
triadic
#EC5798 #98EC57 #5798EC
tetradic
#EC5798 #E2EC57 #57ECAB #6057EC
square
#EC5798 #E2EC57 #57ECAB #6057EC
split-complementary
#EC5798 #57EC60 #57E2EC
monochromatic
#B4145A #E62076 #EC5798 #F28EBA #F8C5DB

Accessibility & contrast

On white

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

On black

6.38
#EC5798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5798
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5798#FFFFFF#000000##000000
##EC57981.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C9A
Deuteranopia (green-blind)
#999895
Tritanopia (blue-blind)
#FE4A71
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5798;
/* rgb */ color: rgb(236, 87, 152);
/* oklch */ color: oklch(67.1% 0.193 356.6);
Tailwind
colors: {
  custom: {
    50: '#f78eb6',
    500: '#ec5798',
    950: '#000000',
  },
}
SCSS
$custom: #ec5798;
$custom-light: #f78eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5798",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 333.826,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67093,
    "c": 0.19276,
    "h": 356.6
  },
  "luminance": 0.26916
}

Semantic roles & 50–950 ramp

primary
#EC5798
secondary
#B5EAD3
accent
#DC800A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5798

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

Preview Lab → · Contrast checker → · Palette generator →

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