#EC5A64#EC5A64

#EC5A64 is a light, vivid red. Relative luminance 0.261; OKLCH L 66.1% C 0.180 H 19.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#EC5A64
RGBrgb(236, 90, 100)
HSLhsl(356, 79%, 64%)
HSVhsv(356, 62%, 93%)
CMYKcmyk(0%, 61.9%, 57.6%, 7.5%)
CIE-LABlab(58.10, 57.00, 24.58)
CIE-LCHlch(58.10, 62.07, 23.33°)
OKLaboklab(66.09% 0.1699 0.0602)
OKLCHoklch(66.09% 0.18 19.5)
XYZxyz(40.5522, 26.0706, 14.9508)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A64 #5AECE2
analogous
#EC5AAD #EC5A64 #EC995A
triadic
#EC5A64 #64EC5A #5A64EC
tetradic
#EC5A64 #ADEC5A #5AECE2 #995AEC
square
#EC5A64 #ADEC5A #5AECE2 #995AEC
split-complementary
#EC5A64 #5AEC99 #5AADEC
monochromatic
#B71520 #E62330 #EC5A64 #F29198 #F9C8CB

Accessibility & contrast

On white

3.38
#EC5A64 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#EC5A64 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A64
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A64#FFFFFF#000000##000000
##EC5A641.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7863
Deuteranopia (green-blind)
#A39760
Tritanopia (blue-blind)
#FF3E5F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5a64;
/* rgb */ color: rgb(236, 90, 100);
/* oklch */ color: oklch(66.1% 0.180 19.5);
Tailwind
colors: {
  custom: {
    50: '#f98f90',
    500: '#ec5a64',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a64;
$custom-light: #f98f90;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a64",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 100
  },
  "hsl": {
    "h": 355.89,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66086,
    "c": 0.18021,
    "h": 19.5
  },
  "luminance": 0.26065
}

Semantic roles & 50–950 ramp

primary
#EC5A64
secondary
#B7EBE7
accent
#DCCD0A
background
#FFF9F8
surface
#FFF1F0
border
#D7CBCB
text
#190D0C
muted
#877E7D

Preview Lab

Preview with #EC5A64

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

Preview Lab → · Contrast checker → · Palette generator →

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