#EC5F71#EC5F71

#EC5F71 is a light, vivid red. Relative luminance 0.272; OKLCH L 67.0% C 0.174 H 15.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#EC5F71
RGBrgb(236, 95, 113)
HSLhsl(352, 79%, 65%)
HSVhsv(352, 60%, 93%)
CMYKcmyk(0%, 59.7%, 52.1%, 7.5%)
CIE-LABlab(59.17, 55.81, 18.48)
CIE-LCHlch(59.17, 58.79, 18.32°)
OKLaboklab(66.97% 0.1679 0.0464)
OKLCHoklch(66.97% 0.174 15.5)
XYZxyz(41.6683, 27.2147, 18.6783)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F71 #5FECDA
analogous
#EC5FB8 #EC5F71 #EC935F
triadic
#EC5F71 #71EC5F #5F71EC
tetradic
#EC5F71 #B8EC5F #5FECDA #935FEC
square
#EC5F71 #B8EC5F #5FECDA #935FEC
split-complementary
#EC5F71 #5FEC93 #5FB8EC
monochromatic
#BA162B #E62840 #EC5F71 #F296A2 #F9CCD2

Accessibility & contrast

On white

3.26
#EC5F71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#EC5F71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F71
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F71#FFFFFF#000000##000000
##EC5F711.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#807C71
Deuteranopia (green-blind)
#A4996E
Tritanopia (blue-blind)
#FF4866
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5f71;
/* rgb */ color: rgb(236, 95, 113);
/* oklch */ color: oklch(67.0% 0.174 15.5);
Tailwind
colors: {
  custom: {
    50: '#f89299',
    500: '#ec5f71',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f71;
$custom-light: #f89299;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f71",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 113
  },
  "hsl": {
    "h": 352.34,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66971,
    "c": 0.17424,
    "h": 15.5
  },
  "luminance": 0.2721
}

Semantic roles & 50–950 ramp

primary
#EC5F71
secondary
#BBEBE5
accent
#DBC00A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5F71

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

Preview Lab → · Contrast checker → · Palette generator →

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