#EC5872#EC5872

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

Color values

HEX#EC5872
RGBrgb(236, 88, 114)
HSLhsl(349, 80%, 64%)
HSVhsv(349, 63%, 93%)
CMYKcmyk(0%, 62.7%, 51.7%, 7.5%)
CIE-LABlab(58.07, 58.91, 16.38)
CIE-LCHlch(58.07, 61.14, 15.54°)
OKLaboklab(66.15% 0.1779 0.0414)
OKLCHoklch(66.15% 0.183 13.1)
XYZxyz(41.1225, 26.0324, 18.7756)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5872 #58ECD2
analogous
#EC58BC #EC5872 #EC8858
triadic
#EC5872 #72EC58 #5872EC
tetradic
#EC5872 #BCEC58 #58ECD2 #8858EC
square
#EC5872 #BCEC58 #58ECD2 #8858EC
split-complementary
#EC5872 #58EC88 #58BCEC
monochromatic
#B51531 #E62144 #EC5872 #F28FA0 #F9C6CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5872#FFFFFF#000000##000000
##EC58721.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)
#7A7872
Deuteranopia (green-blind)
#A0976E
Tritanopia (blue-blind)
#FF3F62
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5872;
/* rgb */ color: rgb(236, 88, 114);
/* oklch */ color: oklch(66.1% 0.183 13.1);
Tailwind
colors: {
  custom: {
    50: '#f88e9a',
    500: '#ec5872',
    950: '#000000',
  },
}
SCSS
$custom: #ec5872;
$custom-light: #f88e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5872",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 114
  },
  "hsl": {
    "h": 349.459,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6615,
    "c": 0.18263,
    "h": 13.1
  },
  "luminance": 0.26027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5872

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

Preview Lab → · Contrast checker → · Palette generator →

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