#EC5878#EC5878

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

Color values

HEX#EC5878
RGBrgb(236, 88, 120)
HSLhsl(347, 80%, 64%)
HSVhsv(347, 63%, 93%)
CMYKcmyk(0%, 62.7%, 49.2%, 7.5%)
CIE-LABlab(58.20, 59.41, 13.06)
CIE-LCHlch(58.20, 60.83, 12.39°)
OKLaboklab(66.29% 0.1801 0.0335)
OKLCHoklch(66.29% 0.183 10.5)
XYZxyz(41.4753, 26.1736, 20.6336)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5878 #58ECCC
analogous
#EC58C2 #EC5878 #EC8258
triadic
#EC5878 #78EC58 #5878EC
tetradic
#EC5878 #C2EC58 #58ECCC #8258EC
square
#EC5878 #C2EC58 #58ECCC #8258EC
split-complementary
#EC5878 #58EC82 #58C2EC
monochromatic
#B51537 #E6214C #EC5878 #F28FA4 #F9C6D1

Accessibility & contrast

On white

3.37
#EC5878 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#EC5878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5878
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5878#FFFFFF#000000##000000
##EC58781.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#797979
Deuteranopia (green-blind)
#A09774
Tritanopia (blue-blind)
#FF4164
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5878;
/* rgb */ color: rgb(236, 88, 120);
/* oklch */ color: oklch(66.3% 0.183 10.5);
Tailwind
colors: {
  custom: {
    50: '#f88e9e',
    500: '#ec5878',
    950: '#000000',
  },
}
SCSS
$custom: #ec5878;
$custom-light: #f88e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5878",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 120
  },
  "hsl": {
    "h": 347.027,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66294,
    "c": 0.1832,
    "h": 10.5
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5878

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

Preview Lab → · Contrast checker → · Palette generator →

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