#EC5F79#EC5F79

#EC5F79 is a light, vivid red. Relative luminance 0.274; OKLCH L 67.2% C 0.175 H 11.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#EC5F79
RGBrgb(236, 95, 121)
HSLhsl(349, 79%, 65%)
HSVhsv(349, 60%, 93%)
CMYKcmyk(0%, 59.7%, 48.7%, 7.5%)
CIE-LABlab(59.35, 56.49, 14.07)
CIE-LCHlch(59.35, 58.22, 13.98°)
OKLaboklab(67.16% 0.171 0.036)
OKLCHoklch(67.16% 0.175 11.9)
XYZxyz(42.1387, 27.4029, 21.1557)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F79 #5FECD2
analogous
#EC5FC0 #EC5F79 #EC8B5F
triadic
#EC5F79 #79EC5F #5F79EC
tetradic
#EC5F79 #C0EC5F #5FECD2 #8B5FEC
square
#EC5F79 #C0EC5F #5FECD2 #8B5FEC
split-complementary
#EC5F79 #5FEC8B #5FC0EC
monochromatic
#BA1634 #E6284B #EC5F79 #F296A7 #F9CCD5

Accessibility & contrast

On white

3.24
#EC5F79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#EC5F79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F79
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F79#FFFFFF#000000##000000
##EC5F791.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D79
Deuteranopia (green-blind)
#A29A76
Tritanopia (blue-blind)
#FF4A69
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5f79;
/* rgb */ color: rgb(236, 95, 121);
/* oklch */ color: oklch(67.2% 0.175 11.9);
Tailwind
colors: {
  custom: {
    50: '#f7929f',
    500: '#ec5f79',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f79;
$custom-light: #f7929f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f79",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 121
  },
  "hsl": {
    "h": 348.936,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67157,
    "c": 0.17471,
    "h": 11.9
  },
  "luminance": 0.27398
}

Semantic roles & 50–950 ramp

primary
#EC5F79
secondary
#BBEBE3
accent
#DBB50A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5F79

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

Preview Lab → · Contrast checker → · Palette generator →

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