#EC5F59#EC5F59

#EC5F59 is a light, vivid red. Relative luminance 0.267; OKLCH L 66.5% C 0.176 H 25.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#EC5F59
RGBrgb(236, 95, 89)
HSLhsl(2, 79%, 64%)
HSVhsv(2, 62%, 93%)
CMYKcmyk(0%, 59.7%, 62.3%, 7.5%)
CIE-LABlab(58.74, 54.08, 31.71)
CIE-LCHlch(58.74, 62.69, 30.38°)
OKLaboklab(66.5% 0.1588 0.0756)
OKLCHoklch(66.5% 0.176 25.5)
XYZxyz(40.4913, 26.7439, 12.4791)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F59 #59E6EC
analogous
#EC599C #EC5F59 #ECA859
triadic
#EC5F59 #59EC5F #5F59EC
tetradic
#EC5F59 #9CEC59 #59E6EC #A859EC
square
#EC5F59 #9CEC59 #59E6EC #A859EC
split-complementary
#EC5F59 #59ECA8 #599CEC
monochromatic
#B61B15 #E62A22 #EC5F59 #F29490 #F9C9C7

Accessibility & contrast

On white

3.31
#EC5F59 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#EC5F59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F59
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F59#FFFFFF#000000##000000
##EC5F591.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A57
Deuteranopia (green-blind)
#A69955
Tritanopia (blue-blind)
#FF435F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5f59;
/* rgb */ color: rgb(236, 95, 89);
/* oklch */ color: oklch(66.5% 0.176 25.5);
Tailwind
colors: {
  custom: {
    50: '#f99288',
    500: '#ec5f59',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f59;
$custom-light: #f99288;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f59",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 89
  },
  "hsl": {
    "h": 2.449,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66501,
    "c": 0.17589,
    "h": 25.5
  },
  "luminance": 0.26739
}

Semantic roles & 50–950 ramp

primary
#EC5F59
secondary
#B6E8EA
accent
#D3DC0A
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190D0B
muted
#877E7C

Preview Lab

Preview with #EC5F59

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

Preview Lab → · Contrast checker → · Palette generator →

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