#EC5873#EC5873

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

Color values

HEX#EC5873
RGBrgb(236, 88, 115)
HSLhsl(349, 80%, 64%)
HSVhsv(349, 63%, 93%)
CMYKcmyk(0%, 62.7%, 51.3%, 7.5%)
CIE-LABlab(58.09, 58.99, 15.83)
CIE-LCHlch(58.09, 61.08, 15.02°)
OKLaboklab(66.17% 0.1783 0.0401)
OKLCHoklch(66.17% 0.183 12.7)
XYZxyz(41.1797, 26.0553, 19.0770)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5873 #58ECD1
analogous
#EC58BD #EC5873 #EC8758
triadic
#EC5873 #73EC58 #5873EC
tetradic
#EC5873 #BDEC58 #58ECD1 #8758EC
square
#EC5873 #BDEC58 #58ECD1 #8758EC
split-complementary
#EC5873 #58EC87 #58BDEC
monochromatic
#B51532 #E62145 #EC5873 #F28FA1 #F9C6CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5873#FFFFFF#000000##000000
##EC58731.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)
#7A7973
Deuteranopia (green-blind)
#A0976F
Tritanopia (blue-blind)
#FF3F63
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5873;
/* rgb */ color: rgb(236, 88, 115);
/* oklch */ color: oklch(66.2% 0.183 12.7);
Tailwind
colors: {
  custom: {
    50: '#f88e9b',
    500: '#ec5873',
    950: '#000000',
  },
}
SCSS
$custom: #ec5873;
$custom-light: #f88e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5873",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 115
  },
  "hsl": {
    "h": 349.054,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66174,
    "c": 0.18271,
    "h": 12.7
  },
  "luminance": 0.2605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5873

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

Preview Lab → · Contrast checker → · Palette generator →

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