#EC5874#EC5874

#EC5874 is a light, vivid red. Relative luminance 0.261; OKLCH L 66.2% C 0.183 H 12.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#EC5874
RGBrgb(236, 88, 116)
HSLhsl(349, 80%, 64%)
HSVhsv(349, 63%, 93%)
CMYKcmyk(0%, 62.7%, 50.8%, 7.5%)
CIE-LABlab(58.11, 59.07, 15.27)
CIE-LCHlch(58.11, 61.02, 14.50°)
OKLaboklab(66.2% 0.1786 0.0388)
OKLCHoklch(66.2% 0.183 12.3)
XYZxyz(41.2376, 26.0785, 19.3817)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5874 #58ECD0
analogous
#EC58BE #EC5874 #EC8658
triadic
#EC5874 #74EC58 #5874EC
tetradic
#EC5874 #BEEC58 #58ECD0 #8658EC
square
#EC5874 #BEEC58 #58ECD0 #8658EC
split-complementary
#EC5874 #58EC86 #58BEEC
monochromatic
#B51533 #E62146 #EC5874 #F28FA2 #F9C6CF

Accessibility & contrast

On white

3.38
#EC5874 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#EC5874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5874
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5874#FFFFFF#000000##000000
##EC58741.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7974
Deuteranopia (green-blind)
#A09770
Tritanopia (blue-blind)
#FF4063
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5874;
/* rgb */ color: rgb(236, 88, 116);
/* oklch */ color: oklch(66.2% 0.183 12.3);
Tailwind
colors: {
  custom: {
    50: '#f88e9b',
    500: '#ec5874',
    950: '#000000',
  },
}
SCSS
$custom: #ec5874;
$custom-light: #f88e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5874",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 116
  },
  "hsl": {
    "h": 348.649,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66197,
    "c": 0.18279,
    "h": 12.3
  },
  "luminance": 0.26073
}

Semantic roles & 50–950 ramp

primary
#EC5874
secondary
#B6EAE0
accent
#DCB40A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5874

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

Preview Lab → · Contrast checker → · Palette generator →

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