#EC5982#EC5982

#EC5982 is a light, vivid pink. Relative luminance 0.266; OKLCH L 66.7% C 0.184 H 6.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#EC5982
RGBrgb(236, 89, 130)
HSLhsl(343, 79%, 64%)
HSVhsv(343, 62%, 93%)
CMYKcmyk(0%, 62.3%, 44.9%, 7.5%)
CIE-LABlab(58.60, 59.89, 7.76)
CIE-LCHlch(58.60, 60.39, 7.38°)
OKLaboklab(66.67% 0.1824 0.0205)
OKLCHoklch(66.67% 0.184 6.4)
XYZxyz(42.1968, 26.5944, 24.0259)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5982 #59ECC3
analogous
#EC59CB #EC5982 #EC7959
triadic
#EC5982 #82EC59 #5982EC
tetradic
#EC5982 #CBEC59 #59ECC3 #7959EC
square
#EC5982 #CBEC59 #59ECC3 #7959EC
split-complementary
#EC5982 #59EC79 #59CBEC
monochromatic
#B61542 #E62259 #EC5982 #F290AB #F9C7D5

Accessibility & contrast

On white

3.32
#EC5982 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#EC5982 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5982
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5982#FFFFFF#000000##000000
##EC59821.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#787B83
Deuteranopia (green-blind)
#9E987F
Tritanopia (blue-blind)
#FF4569
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5982;
/* rgb */ color: rgb(236, 89, 130);
/* oklch */ color: oklch(66.7% 0.184 6.4);
Tailwind
colors: {
  custom: {
    50: '#f78fa6',
    500: '#ec5982',
    950: '#000000',
  },
}
SCSS
$custom: #ec5982;
$custom-light: #f78fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5982",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 343.265,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.18358,
    "h": 6.4
  },
  "luminance": 0.26589
}

Semantic roles & 50–950 ramp

primary
#EC5982
secondary
#B6EADC
accent
#DCA10A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5982

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

Preview Lab → · Contrast checker → · Palette generator →

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