#EC5997#EC5997

#EC5997 is a light, vivid pink. Relative luminance 0.272; OKLCH L 67.3% C 0.190 H 357.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#EC5997
RGBrgb(236, 89, 151)
HSLhsl(335, 79%, 64%)
HSVhsv(335, 62%, 93%)
CMYKcmyk(0%, 62.3%, 36%, 7.5%)
CIE-LABlab(59.17, 62.04, -3.67)
CIE-LCHlch(59.17, 62.14, 356.62°)
OKLaboklab(67.29% 0.1895 -0.0088)
OKLCHoklch(67.29% 0.19 357.3)
XYZxyz(43.7529, 27.2169, 32.2214)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5997 #59ECAE
analogous
#EC59E0 #EC5997 #EC6459
triadic
#EC5997 #97EC59 #5997EC
tetradic
#EC5997 #E0EC59 #59ECAE #6459EC
square
#EC5997 #E0EC59 #59ECAE #6459EC
split-complementary
#EC5997 #59EC64 #59E0EC
monochromatic
#B61559 #E62275 #EC5997 #F290B9 #F9C7DC

Accessibility & contrast

On white

3.26
#EC5997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#EC5997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5997
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5997#FFFFFF#000000##000000
##EC59971.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D99
Deuteranopia (green-blind)
#9A9994
Tritanopia (blue-blind)
#FE4C72
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5997;
/* rgb */ color: rgb(236, 89, 151);
/* oklch */ color: oklch(67.3% 0.190 357.3);
Tailwind
colors: {
  custom: {
    50: '#f78fb5',
    500: '#ec5997',
    950: '#000000',
  },
}
SCSS
$custom: #ec5997;
$custom-light: #f78fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5997",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 151
  },
  "hsl": {
    "h": 334.694,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67286,
    "c": 0.18973,
    "h": 357.3
  },
  "luminance": 0.27212
}

Semantic roles & 50–950 ramp

primary
#EC5997
secondary
#B6EAD4
accent
#DC830A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5997

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

Preview Lab → · Contrast checker → · Palette generator →

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