#EC5892#EC5892

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

Color values

HEX#EC5892
RGBrgb(236, 88, 146)
HSLhsl(336, 80%, 64%)
HSVhsv(336, 63%, 93%)
CMYKcmyk(0%, 62.7%, 38.1%, 7.5%)
CIE-LABlab(58.87, 61.91, -1.19)
CIE-LCHlch(58.87, 61.92, 358.90°)
OKLaboklab(67.02% 0.1892 -0.0024)
OKLCHoklch(67.02% 0.189 359.3)
XYZxyz(43.2728, 26.8926, 30.1005)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5892 #58ECB2
analogous
#EC58DC #EC5892 #EC6858
triadic
#EC5892 #92EC58 #5892EC
tetradic
#EC5892 #DCEC58 #58ECB2 #6858EC
square
#EC5892 #DCEC58 #58ECB2 #6858EC
split-complementary
#EC5892 #58EC68 #58DCEC
monochromatic
#B51553 #E6216E #EC5892 #F28FB6 #F9C6DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5892#FFFFFF#000000##000000
##EC58921.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)
#737C94
Deuteranopia (green-blind)
#9B988F
Tritanopia (blue-blind)
#FE496F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5892;
/* rgb */ color: rgb(236, 88, 146);
/* oklch */ color: oklch(67.0% 0.189 359.3);
Tailwind
colors: {
  custom: {
    50: '#f78fb1',
    500: '#ec5892',
    950: '#000000',
  },
}
SCSS
$custom: #ec5892;
$custom-light: #f78fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5892",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 146
  },
  "hsl": {
    "h": 336.486,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67015,
    "c": 0.18924,
    "h": 359.3
  },
  "luminance": 0.26888
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5892

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

Preview Lab → · Contrast checker → · Palette generator →

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