#EC5A71#EC5A71

#EC5A71 is a light, vivid red. Relative luminance 0.263; OKLCH L 66.4% C 0.180 H 14.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#EC5A71
RGBrgb(236, 90, 113)
HSLhsl(351, 79%, 64%)
HSVhsv(351, 62%, 93%)
CMYKcmyk(0%, 61.9%, 52.1%, 7.5%)
CIE-LABlab(58.36, 57.98, 17.37)
CIE-LCHlch(58.36, 60.53, 16.68°)
OKLaboklab(66.36% 0.1748 0.0438)
OKLCHoklch(66.36% 0.18 14.1)
XYZxyz(41.2323, 26.3427, 18.5329)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A71 #5AECD5
analogous
#EC5ABA #EC5A71 #EC8C5A
triadic
#EC5A71 #71EC5A #5A71EC
tetradic
#EC5A71 #BAEC5A #5AECD5 #8C5AEC
square
#EC5A71 #BAEC5A #5AECD5 #8C5AEC
split-complementary
#EC5A71 #5AEC8C #5ABAEC
monochromatic
#B7152E #E62342 #EC5A71 #F291A0 #F9C8CF

Accessibility & contrast

On white

3.35
#EC5A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#EC5A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A71
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A71#FFFFFF#000000##000000
##EC5A711.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7971
Deuteranopia (green-blind)
#A1976E
Tritanopia (blue-blind)
#FF4263
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5a71;
/* rgb */ color: rgb(236, 90, 113);
/* oklch */ color: oklch(66.4% 0.180 14.1);
Tailwind
colors: {
  custom: {
    50: '#f88f99',
    500: '#ec5a71',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a71;
$custom-light: #f88f99;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a71",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 113
  },
  "hsl": {
    "h": 350.548,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.18021,
    "h": 14.1
  },
  "luminance": 0.26337
}

Semantic roles & 50–950 ramp

primary
#EC5A71
secondary
#B7EBE2
accent
#DCBB0A
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#180D0D
muted
#867E7E

Preview Lab

Preview with #EC5A71

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

Preview Lab → · Contrast checker → · Palette generator →

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