#EC5877#EC5877

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

Color values

HEX#EC5877
RGBrgb(236, 88, 119)
HSLhsl(347, 80%, 64%)
HSVhsv(347, 63%, 93%)
CMYKcmyk(0%, 62.7%, 49.6%, 7.5%)
CIE-LABlab(58.18, 59.33, 13.61)
CIE-LCHlch(58.18, 60.87, 12.92°)
OKLaboklab(66.27% 0.1797 0.0348)
OKLCHoklch(66.27% 0.183 11)
XYZxyz(41.4149, 26.1494, 20.3156)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5877 #58ECCD
analogous
#EC58C1 #EC5877 #EC8358
triadic
#EC5877 #77EC58 #5877EC
tetradic
#EC5877 #C1EC58 #58ECCD #8358EC
square
#EC5877 #C1EC58 #58ECCD #8358EC
split-complementary
#EC5877 #58EC83 #58C1EC
monochromatic
#B51536 #E6214A #EC5877 #F28FA4 #F9C6D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5877#FFFFFF#000000##000000
##EC58771.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)
#797977
Deuteranopia (green-blind)
#A09773
Tritanopia (blue-blind)
#FF4164
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5877;
/* rgb */ color: rgb(236, 88, 119);
/* oklch */ color: oklch(66.3% 0.183 11.0);
Tailwind
colors: {
  custom: {
    50: '#f88e9e',
    500: '#ec5877',
    950: '#000000',
  },
}
SCSS
$custom: #ec5877;
$custom-light: #f88e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5877",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 347.432,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.18308,
    "h": 11
  },
  "luminance": 0.26144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5877

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

Preview Lab → · Contrast checker → · Palette generator →

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