#EC5993#EC5993

#EC5993 is a light, vivid pink. Relative luminance 0.271; OKLCH L 67.2% C 0.188 H 359.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#EC5993
RGBrgb(236, 89, 147)
HSLhsl(336, 79%, 64%)
HSVhsv(336, 62%, 93%)
CMYKcmyk(0%, 62.3%, 37.7%, 7.5%)
CIE-LABlab(59.06, 61.60, -1.51)
CIE-LCHlch(59.06, 61.62, 358.60°)
OKLaboklab(67.16% 0.1882 -0.0032)
OKLCHoklch(67.16% 0.188 359)
XYZxyz(43.4336, 27.0891, 30.5395)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5993 #59ECB2
analogous
#EC59DC #EC5993 #EC6859
triadic
#EC5993 #93EC59 #5993EC
tetradic
#EC5993 #DCEC59 #59ECB2 #6859EC
square
#EC5993 #DCEC59 #59ECB2 #6859EC
split-complementary
#EC5993 #59EC68 #59DCEC
monochromatic
#B61554 #E6226F #EC5993 #F290B7 #F9C7DA

Accessibility & contrast

On white

3.27
#EC5993 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#EC5993 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5993
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5993#FFFFFF#000000##000000
##EC59931.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#747D95
Deuteranopia (green-blind)
#9B9890
Tritanopia (blue-blind)
#FE4B70
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5993;
/* rgb */ color: rgb(236, 89, 147);
/* oklch */ color: oklch(67.2% 0.188 359.0);
Tailwind
colors: {
  custom: {
    50: '#f78fb2',
    500: '#ec5993',
    950: '#000000',
  },
}
SCSS
$custom: #ec5993;
$custom-light: #f78fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5993",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 336.327,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6716,
    "c": 0.18827,
    "h": 359
  },
  "luminance": 0.27084
}

Semantic roles & 50–950 ramp

primary
#EC5993
secondary
#B6EAD6
accent
#DC890A
background
#FFF9FA
surface
#FFF1F5
border
#D7CBCF
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5993

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

Preview Lab → · Contrast checker → · Palette generator →

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