#EC5871#EC5871

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

Color values

HEX#EC5871
RGBrgb(236, 88, 113)
HSLhsl(350, 80%, 64%)
HSVhsv(350, 63%, 93%)
CMYKcmyk(0%, 62.7%, 52.1%, 7.5%)
CIE-LABlab(58.05, 58.83, 16.94)
CIE-LCHlch(58.05, 61.22, 16.06°)
OKLaboklab(66.13% 0.1775 0.0427)
OKLCHoklch(66.13% 0.183 13.5)
XYZxyz(41.0659, 26.0098, 18.4775)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5871 #58ECD3
analogous
#EC58BB #EC5871 #EC8958
triadic
#EC5871 #71EC58 #5871EC
tetradic
#EC5871 #BBEC58 #58ECD3 #8958EC
square
#EC5871 #BBEC58 #58ECD3 #8958EC
split-complementary
#EC5871 #58EC89 #58BBEC
monochromatic
#B51530 #E62142 #EC5871 #F28FA0 #F9C6CE

Accessibility & contrast

On white

3.39
#EC5871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#EC5871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5871
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5871#FFFFFF#000000##000000
##EC58711.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7871
Deuteranopia (green-blind)
#A1976D
Tritanopia (blue-blind)
#FF3F62
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5871;
/* rgb */ color: rgb(236, 88, 113);
/* oklch */ color: oklch(66.1% 0.183 13.5);
Tailwind
colors: {
  custom: {
    50: '#f88e99',
    500: '#ec5871',
    950: '#000000',
  },
}
SCSS
$custom: #ec5871;
$custom-light: #f88e99;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5871",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 349.865,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66127,
    "c": 0.18256,
    "h": 13.5
  },
  "luminance": 0.26005
}

Semantic roles & 50–950 ramp

primary
#EC5871
secondary
#B6EAE1
accent
#DCB80A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0D
muted
#867E7E

Preview Lab

Preview with #EC5871

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

Preview Lab → · Contrast checker → · Palette generator →

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