#EC5F66#EC5F66

#EC5F66 is a light, vivid red. Relative luminance 0.270; OKLCH L 66.7% C 0.174 H 20.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#EC5F66
RGBrgb(236, 95, 102)
HSLhsl(357, 79%, 65%)
HSVhsv(357, 60%, 93%)
CMYKcmyk(0%, 59.7%, 56.8%, 7.5%)
CIE-LABlab(58.96, 54.96, 24.56)
CIE-LCHlch(58.96, 60.20, 24.07°)
OKLaboklab(66.74% 0.1637 0.0603)
OKLCHoklch(66.74% 0.174 20.2)
XYZxyz(41.0862, 26.9818, 15.6122)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F66 #5FECE5
analogous
#EC5FAD #EC5F66 #EC9E5F
triadic
#EC5F66 #66EC5F #5F66EC
tetradic
#EC5F66 #ADEC5F #5FECE5 #9E5FEC
square
#EC5F66 #ADEC5F #5FECE5 #9E5FEC
split-complementary
#EC5F66 #5FEC9E #5FADEC
monochromatic
#BA161E #E62832 #EC5F66 #F2969A #F9CCCF

Accessibility & contrast

On white

3.28
#EC5F66 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#EC5F66 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F66
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F66#FFFFFF#000000##000000
##EC5F661.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817B65
Deuteranopia (green-blind)
#A59963
Tritanopia (blue-blind)
#FF4563
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5f66;
/* rgb */ color: rgb(236, 95, 102);
/* oklch */ color: oklch(66.7% 0.174 20.2);
Tailwind
colors: {
  custom: {
    50: '#f89291',
    500: '#ec5f66',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f66;
$custom-light: #f89291;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f66",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 102
  },
  "hsl": {
    "h": 357.021,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66739,
    "c": 0.17448,
    "h": 20.2
  },
  "luminance": 0.26977
}

Semantic roles & 50–950 ramp

primary
#EC5F66
secondary
#BBEBE9
accent
#DBD10A
background
#FFF9F8
surface
#FFF2F0
border
#D7CCCB
text
#180D0C
muted
#867E7D

Preview Lab

Preview with #EC5F66

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

Preview Lab → · Contrast checker → · Palette generator →

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