#EC5894#EC5894

#EC5894 is a light, vivid pink. Relative luminance 0.270; OKLCH L 67.1% C 0.190 H 358.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#EC5894
RGBrgb(236, 88, 148)
HSLhsl(336, 80%, 64%)
HSVhsv(336, 63%, 93%)
CMYKcmyk(0%, 62.7%, 37.3%, 7.5%)
CIE-LABlab(58.93, 62.12, -2.27)
CIE-LCHlch(58.93, 62.17, 357.90°)
OKLaboklab(67.08% 0.1899 -0.0052)
OKLCHoklch(67.08% 0.19 358.4)
XYZxyz(43.4297, 26.9553, 30.9270)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5894 #58ECB0
analogous
#EC58DE #EC5894 #EC6658
triadic
#EC5894 #94EC58 #5894EC
tetradic
#EC5894 #DEEC58 #58ECB0 #6658EC
square
#EC5894 #DEEC58 #58ECB0 #6658EC
split-complementary
#EC5894 #58EC66 #58DEEC
monochromatic
#B51556 #E62171 #EC5894 #F28FB7 #F9C6DA

Accessibility & contrast

On white

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

On black

6.39
#EC5894 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5894
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5894#FFFFFF#000000##000000
##EC58941.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#727C96
Deuteranopia (green-blind)
#9A9891
Tritanopia (blue-blind)
#FE4A70
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5894;
/* rgb */ color: rgb(236, 88, 148);
/* oklch */ color: oklch(67.1% 0.190 358.4);
Tailwind
colors: {
  custom: {
    50: '#f78fb3',
    500: '#ec5894',
    950: '#000000',
  },
}
SCSS
$custom: #ec5894;
$custom-light: #f78fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5894",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 335.676,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.18994,
    "h": 358.4
  },
  "luminance": 0.2695
}

Semantic roles & 50–950 ramp

primary
#EC5894
secondary
#B6EAD5
accent
#DC870A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5894

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

Preview Lab → · Contrast checker → · Palette generator →

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