#EC5A62#EC5A62

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

Color values

HEX#EC5A62
RGBrgb(236, 90, 98)
HSLhsl(357, 79%, 64%)
HSVhsv(357, 62%, 93%)
CMYKcmyk(0%, 61.9%, 58.5%, 7.5%)
CIE-LABlab(58.07, 56.86, 25.69)
CIE-LCHlch(58.07, 62.39, 24.32°)
OKLaboklab(66.05% 0.1691 0.0627)
OKLCHoklch(66.05% 0.18 20.3)
XYZxyz(40.4566, 26.0324, 14.4473)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A62 #5AECE4
analogous
#EC5AAB #EC5A62 #EC9B5A
triadic
#EC5A62 #62EC5A #5A62EC
tetradic
#EC5A62 #ABEC5A #5AECE4 #9B5AEC
square
#EC5A62 #ABEC5A #5AECE4 #9B5AEC
split-complementary
#EC5A62 #5AEC9B #5AABEC
monochromatic
#B7151E #E6232E #EC5A62 #F29196 #F9C8CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5A62#FFFFFF#000000##000000
##EC5A621.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)
#7E7861
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#FF3E5E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5a62;
/* rgb */ color: rgb(236, 90, 98);
/* oklch */ color: oklch(66.0% 0.180 20.3);
Tailwind
colors: {
  custom: {
    50: '#f98f8e',
    500: '#ec5a62',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a62;
$custom-light: #f98f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a62",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 98
  },
  "hsl": {
    "h": 356.712,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66047,
    "c": 0.18032,
    "h": 20.3
  },
  "luminance": 0.26027
}

Semantic roles & 50–950 ramp

primary
#EC5A62
secondary
#B7EBE8
accent
#DCD00A
background
#FFF9F8
surface
#FFF1F0
border
#D7CBCB
text
#190D0C
muted
#877E7D

Preview Lab

Preview with #EC5A62

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

Preview Lab → · Contrast checker → · Palette generator →

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