#EC5893#EC5893

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

Color values

HEX#EC5893
RGBrgb(236, 88, 147)
HSLhsl(336, 80%, 64%)
HSVhsv(336, 63%, 93%)
CMYKcmyk(0%, 62.7%, 37.7%, 7.5%)
CIE-LABlab(58.90, 62.02, -1.73)
CIE-LCHlch(58.90, 62.04, 358.40°)
OKLaboklab(67.05% 0.1896 -0.0038)
OKLCHoklch(67.05% 0.19 358.9)
XYZxyz(43.3509, 26.9238, 30.5120)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5893 #58ECB1
analogous
#EC58DD #EC5893 #EC6758
triadic
#EC5893 #93EC58 #5893EC
tetradic
#EC5893 #DDEC58 #58ECB1 #6758EC
square
#EC5893 #DDEC58 #58ECB1 #6758EC
split-complementary
#EC5893 #58EC67 #58DDEC
monochromatic
#B51555 #E6216F #EC5893 #F28FB7 #F9C6DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5893#FFFFFF#000000##000000
##EC58931.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)
#737C95
Deuteranopia (green-blind)
#9B9890
Tritanopia (blue-blind)
#FE4A6F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5893;
/* rgb */ color: rgb(236, 88, 147);
/* oklch */ color: oklch(67.0% 0.190 358.9);
Tailwind
colors: {
  custom: {
    50: '#f78fb2',
    500: '#ec5893',
    950: '#000000',
  },
}
SCSS
$custom: #ec5893;
$custom-light: #f78fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5893",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 336.081,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67046,
    "c": 0.18959,
    "h": 358.9
  },
  "luminance": 0.26919
}

Semantic roles & 50–950 ramp

primary
#EC5893
secondary
#B6EAD5
accent
#DC880A
background
#FFF9FA
surface
#FFF1F5
border
#D7CBCF
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5893

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

Preview Lab → · Contrast checker → · Palette generator →

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