#EC5978#EC5978

#EC5978 is a light, vivid red. Relative luminance 0.263; OKLCH L 66.4% C 0.182 H 10.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#EC5978
RGBrgb(236, 89, 120)
HSLhsl(347, 79%, 64%)
HSVhsv(347, 62%, 93%)
CMYKcmyk(0%, 62.3%, 49.2%, 7.5%)
CIE-LABlab(58.36, 58.99, 13.27)
CIE-LCHlch(58.36, 60.47, 12.68°)
OKLaboklab(66.41% 0.1788 0.034)
OKLCHoklch(66.41% 0.182 10.8)
XYZxyz(41.5579, 26.3389, 20.6611)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5978 #59ECCD
analogous
#EC59C1 #EC5978 #EC8359
triadic
#EC5978 #78EC59 #5978EC
tetradic
#EC5978 #C1EC59 #59ECCD #8359EC
square
#EC5978 #C1EC59 #59ECCD #8359EC
split-complementary
#EC5978 #59EC83 #59C1EC
monochromatic
#B61537 #E6224B #EC5978 #F290A5 #F9C7D1

Accessibility & contrast

On white

3.35
#EC5978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#EC5978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5978
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5978#FFFFFF#000000##000000
##EC59781.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A79
Deuteranopia (green-blind)
#A09775
Tritanopia (blue-blind)
#FF4265
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5978;
/* rgb */ color: rgb(236, 89, 120);
/* oklch */ color: oklch(66.4% 0.182 10.8);
Tailwind
colors: {
  custom: {
    50: '#f88f9e',
    500: '#ec5978',
    950: '#000000',
  },
}
SCSS
$custom: #ec5978;
$custom-light: #f88f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5978",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 347.347,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6641,
    "c": 0.18199,
    "h": 10.8
  },
  "luminance": 0.26334
}

Semantic roles & 50–950 ramp

primary
#EC5978
secondary
#B6EADF
accent
#DCAF0A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5978

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

Preview Lab → · Contrast checker → · Palette generator →

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