#EC5879#EC5879

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

Color values

HEX#EC5879
RGBrgb(236, 88, 121)
HSLhsl(347, 80%, 64%)
HSVhsv(347, 63%, 93%)
CMYKcmyk(0%, 62.7%, 48.7%, 7.5%)
CIE-LABlab(58.22, 59.50, 12.50)
CIE-LCHlch(58.22, 60.80, 11.87°)
OKLaboklab(66.32% 0.1805 0.0322)
OKLCHoklch(66.32% 0.183 10.1)
XYZxyz(41.5363, 26.1980, 20.9549)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5879 #58ECCB
analogous
#EC58C3 #EC5879 #EC8158
triadic
#EC5879 #79EC58 #5879EC
tetradic
#EC5879 #C3EC58 #58ECCB #8158EC
square
#EC5879 #C3EC58 #58ECCB #8158EC
split-complementary
#EC5879 #58EC81 #58C3EC
monochromatic
#B51538 #E6214D #EC5879 #F28FA5 #F9C6D1

Accessibility & contrast

On white

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

On black

6.24
#EC5879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5879
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5879#FFFFFF#000000##000000
##EC58791.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79797A
Deuteranopia (green-blind)
#9F9776
Tritanopia (blue-blind)
#FF4165
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5879;
/* rgb */ color: rgb(236, 88, 121);
/* oklch */ color: oklch(66.3% 0.183 10.1);
Tailwind
colors: {
  custom: {
    50: '#f88e9f',
    500: '#ec5879',
    950: '#000000',
  },
}
SCSS
$custom: #ec5879;
$custom-light: #f88e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5879",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 121
  },
  "hsl": {
    "h": 346.622,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66318,
    "c": 0.18332,
    "h": 10.1
  },
  "luminance": 0.26193
}

Semantic roles & 50–950 ramp

primary
#EC5879
secondary
#B6EADE
accent
#DCAD0A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5879

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

Preview Lab → · Contrast checker → · Palette generator →

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