#EC5797#EC5797

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

Color values

HEX#EC5797
RGBrgb(236, 87, 151)
HSLhsl(334, 80%, 63%)
HSVhsv(334, 63%, 93%)
CMYKcmyk(0%, 63.1%, 36%, 7.5%)
CIE-LABlab(58.87, 62.86, -4.11)
CIE-LCHlch(58.87, 63.00, 356.26°)
OKLaboklab(67.06% 0.1921 -0.01)
OKLCHoklch(67.06% 0.192 357)
XYZxyz(43.5887, 26.8885, 32.1667)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5797 #57ECAC
analogous
#EC57E2 #EC5797 #EC6157
triadic
#EC5797 #97EC57 #5797EC
tetradic
#EC5797 #E2EC57 #57ECAC #6157EC
square
#EC5797 #E2EC57 #57ECAC #6157EC
split-complementary
#EC5797 #57EC61 #57E2EC
monochromatic
#B41459 #E62075 #EC5797 #F28EB9 #F8C5DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5797#FFFFFF#000000##000000
##EC57971.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)
#717C99
Deuteranopia (green-blind)
#999894
Tritanopia (blue-blind)
#FE4A71
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5797;
/* rgb */ color: rgb(236, 87, 151);
/* oklch */ color: oklch(67.1% 0.192 357.0);
Tailwind
colors: {
  custom: {
    50: '#f78eb5',
    500: '#ec5797',
    950: '#000000',
  },
}
SCSS
$custom: #ec5797;
$custom-light: #f78eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5797",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 334.228,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67061,
    "c": 0.19237,
    "h": 357
  },
  "luminance": 0.26884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5797

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

Preview Lab → · Contrast checker → · Palette generator →

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