#EC5F74#EC5F74

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

Color values

HEX#EC5F74
RGBrgb(236, 95, 116)
HSLhsl(351, 79%, 65%)
HSVhsv(351, 60%, 93%)
CMYKcmyk(0%, 59.7%, 50.8%, 7.5%)
CIE-LABlab(59.24, 56.06, 16.82)
CIE-LCHlch(59.24, 58.53, 16.70°)
OKLaboklab(67.04% 0.1691 0.0426)
OKLCHoklch(67.04% 0.174 14.1)
XYZxyz(41.8400, 27.2834, 19.5825)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F74 #5FECD7
analogous
#EC5FBA #EC5F74 #EC915F
triadic
#EC5F74 #74EC5F #5F74EC
tetradic
#EC5F74 #BAEC5F #5FECD7 #915FEC
square
#EC5F74 #BAEC5F #5FECD7 #915FEC
split-complementary
#EC5F74 #5FEC91 #5FBAEC
monochromatic
#BA162F #E62844 #EC5F74 #F296A4 #F9CCD3

Accessibility & contrast

On white

3.25
#EC5F74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#EC5F74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F74
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F74#FFFFFF#000000##000000
##EC5F741.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7D74
Deuteranopia (green-blind)
#A39971
Tritanopia (blue-blind)
#FF4967
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5f74;
/* rgb */ color: rgb(236, 95, 116);
/* oklch */ color: oklch(67.0% 0.174 14.1);
Tailwind
colors: {
  custom: {
    50: '#f8929b',
    500: '#ec5f74',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f74;
$custom-light: #f8929b;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f74",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 116
  },
  "hsl": {
    "h": 351.064,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67039,
    "c": 0.17435,
    "h": 14.1
  },
  "luminance": 0.27278
}

Semantic roles & 50–950 ramp

primary
#EC5F74
secondary
#BBEBE4
accent
#DBBC0A
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#180D0E
muted
#867E7E

Preview Lab

Preview with #EC5F74

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

Preview Lab → · Contrast checker → · Palette generator →

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