#EC5979#EC5979

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

Color values

HEX#EC5979
RGBrgb(236, 89, 121)
HSLhsl(347, 79%, 64%)
HSVhsv(347, 62%, 93%)
CMYKcmyk(0%, 62.3%, 48.7%, 7.5%)
CIE-LABlab(58.38, 59.08, 12.72)
CIE-LCHlch(58.38, 60.43, 12.15°)
OKLaboklab(66.44% 0.1792 0.0327)
OKLCHoklch(66.44% 0.182 10.3)
XYZxyz(41.6189, 26.3633, 20.9824)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5979 #59ECCC
analogous
#EC59C2 #EC5979 #EC8259
triadic
#EC5979 #79EC59 #5979EC
tetradic
#EC5979 #C2EC59 #59ECCC #8259EC
square
#EC5979 #C2EC59 #59ECCC #8259EC
split-complementary
#EC5979 #59EC82 #59C2EC
monochromatic
#B61538 #E6224D #EC5979 #F290A5 #F9C7D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5979#FFFFFF#000000##000000
##EC59791.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)
#7A7A7A
Deuteranopia (green-blind)
#A09776
Tritanopia (blue-blind)
#FF4365
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5979;
/* rgb */ color: rgb(236, 89, 121);
/* oklch */ color: oklch(66.4% 0.182 10.3);
Tailwind
colors: {
  custom: {
    50: '#f88f9f',
    500: '#ec5979',
    950: '#000000',
  },
}
SCSS
$custom: #ec5979;
$custom-light: #f88f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5979",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 346.939,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.18211,
    "h": 10.3
  },
  "luminance": 0.26358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5979

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

Preview Lab → · Contrast checker → · Palette generator →

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