#EC5F64#EC5F64

#EC5F64 is a light, vivid red. Relative luminance 0.269; OKLCH L 66.7% C 0.175 H 21.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#EC5F64
RGBrgb(236, 95, 100)
HSLhsl(358, 79%, 65%)
HSVhsv(358, 60%, 93%)
CMYKcmyk(0%, 59.7%, 57.6%, 7.5%)
CIE-LABlab(58.92, 54.82, 25.66)
CIE-LCHlch(58.92, 60.53, 25.08°)
OKLaboklab(66.7% 0.163 0.0627)
OKLCHoklch(66.7% 0.175 21)
XYZxyz(40.9882, 26.9426, 15.0962)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F64 #5FECE7
analogous
#EC5FAB #EC5F64 #ECA05F
triadic
#EC5F64 #64EC5F #5F64EC
tetradic
#EC5F64 #ABEC5F #5FECE7 #A05FEC
square
#EC5F64 #ABEC5F #5FECE7 #A05FEC
split-complementary
#EC5F64 #5FECA0 #5FABEC
monochromatic
#BA161C #E6282F #EC5F64 #F29699 #F9CCCE

Accessibility & contrast

On white

3.29
#EC5F64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#EC5F64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F64
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F64#FFFFFF#000000##000000
##EC5F641.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#827B63
Deuteranopia (green-blind)
#A59961
Tritanopia (blue-blind)
#FF4562
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5f64;
/* rgb */ color: rgb(236, 95, 100);
/* oklch */ color: oklch(66.7% 0.175 21.0);
Tailwind
colors: {
  custom: {
    50: '#f89290',
    500: '#ec5f64',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f64;
$custom-light: #f89290;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f64",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 100
  },
  "hsl": {
    "h": 357.872,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.667,
    "c": 0.17462,
    "h": 21
  },
  "luminance": 0.26937
}

Semantic roles & 50–950 ramp

primary
#EC5F64
secondary
#BBEBEA
accent
#DBD40A
background
#FFF9F8
surface
#FFF2F0
border
#D7CCCB
text
#180D0C
muted
#867E7D

Preview Lab

Preview with #EC5F64

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

Preview Lab → · Contrast checker → · Palette generator →

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