#EC5992#EC5992

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

Color values

HEX#EC5992
RGBrgb(236, 89, 146)
HSLhsl(337, 79%, 64%)
HSVhsv(337, 62%, 93%)
CMYKcmyk(0%, 62.3%, 38.1%, 7.5%)
CIE-LABlab(59.03, 61.50, -0.97)
CIE-LCHlch(59.03, 61.50, 359.10°)
OKLaboklab(67.13% 0.1879 -0.0018)
OKLCHoklch(67.13% 0.188 359.5)
XYZxyz(43.3555, 27.0579, 30.1281)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5992 #59ECB3
analogous
#EC59DB #EC5992 #EC6959
triadic
#EC5992 #92EC59 #5992EC
tetradic
#EC5992 #DBEC59 #59ECB3 #6959EC
square
#EC5992 #DBEC59 #59ECB3 #6959EC
split-complementary
#EC5992 #59EC69 #59DBEC
monochromatic
#B61553 #E6226E #EC5992 #F290B6 #F9C7DA

Accessibility & contrast

On white

3.28
#EC5992 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#EC5992 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5992
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5992#FFFFFF#000000##000000
##EC59921.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#747C94
Deuteranopia (green-blind)
#9B988F
Tritanopia (blue-blind)
#FE4B6F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5992;
/* rgb */ color: rgb(236, 89, 146);
/* oklch */ color: oklch(67.1% 0.188 359.5);
Tailwind
colors: {
  custom: {
    50: '#f78fb1',
    500: '#ec5992',
    950: '#000000',
  },
}
SCSS
$custom: #ec5992;
$custom-light: #f78fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5992",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 336.735,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67129,
    "c": 0.18793,
    "h": 359.5
  },
  "luminance": 0.27053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5992

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

Preview Lab → · Contrast checker → · Palette generator →

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