#EC5974#EC5974

#EC5974 is a light, vivid red. Relative luminance 0.262; OKLCH L 66.3% C 0.182 H 12.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#EC5974
RGBrgb(236, 89, 116)
HSLhsl(349, 79%, 64%)
HSVhsv(349, 62%, 93%)
CMYKcmyk(0%, 62.3%, 50.8%, 7.5%)
CIE-LABlab(58.27, 58.65, 15.49)
CIE-LCHlch(58.27, 60.66, 14.79°)
OKLaboklab(66.31% 0.1773 0.0393)
OKLCHoklch(66.31% 0.182 12.5)
XYZxyz(41.3202, 26.2438, 19.4093)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5974 #59ECD1
analogous
#EC59BD #EC5974 #EC8759
triadic
#EC5974 #74EC59 #5974EC
tetradic
#EC5974 #BDEC59 #59ECD1 #8759EC
square
#EC5974 #BDEC59 #59ECD1 #8759EC
split-complementary
#EC5974 #59EC87 #59BDEC
monochromatic
#B61532 #E62246 #EC5974 #F290A2 #F9C7D0

Accessibility & contrast

On white

3.36
#EC5974 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#EC5974 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5974
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5974#FFFFFF#000000##000000
##EC59741.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7974
Deuteranopia (green-blind)
#A19771
Tritanopia (blue-blind)
#FF4164
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5974;
/* rgb */ color: rgb(236, 89, 116);
/* oklch */ color: oklch(66.3% 0.182 12.5);
Tailwind
colors: {
  custom: {
    50: '#f88f9b',
    500: '#ec5974',
    950: '#000000',
  },
}
SCSS
$custom: #ec5974;
$custom-light: #f88f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5974",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 116
  },
  "hsl": {
    "h": 348.98,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66314,
    "c": 0.1816,
    "h": 12.5
  },
  "luminance": 0.26239
}

Semantic roles & 50–950 ramp

primary
#EC5974
secondary
#B6EAE1
accent
#DCB50A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5974

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

Preview Lab → · Contrast checker → · Palette generator →

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