#EC5F58#EC5F58

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

Color values

HEX#EC5F58
RGBrgb(236, 95, 88)
HSLhsl(3, 80%, 64%)
HSVhsv(3, 63%, 93%)
CMYKcmyk(0%, 59.7%, 62.7%, 7.5%)
CIE-LABlab(58.72, 54.02, 32.25)
CIE-LCHlch(58.72, 62.92, 30.84°)
OKLaboklab(66.49% 0.1584 0.0768)
OKLCHoklch(66.49% 0.176 25.8)
XYZxyz(40.4496, 26.7272, 12.2595)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F58 #58E5EC
analogous
#EC589B #EC5F58 #ECA958
triadic
#EC5F58 #58EC5F #5F58EC
tetradic
#EC5F58 #9BEC58 #58E5EC #A958EC
square
#EC5F58 #9BEC58 #58E5EC #A958EC
split-complementary
#EC5F58 #58ECA9 #589BEC
monochromatic
#B51C15 #E62A21 #EC5F58 #F2948F #F9C8C6

Accessibility & contrast

On white

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

On black

6.34
#EC5F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F58
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F58#FFFFFF#000000##000000
##EC5F581.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A56
Deuteranopia (green-blind)
#A79954
Tritanopia (blue-blind)
#FF425E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5f58;
/* rgb */ color: rgb(236, 95, 88);
/* oklch */ color: oklch(66.5% 0.176 25.8);
Tailwind
colors: {
  custom: {
    50: '#f99287',
    500: '#ec5f58',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f58;
$custom-light: #f99287;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f58",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 88
  },
  "hsl": {
    "h": 2.838,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.17605,
    "h": 25.8
  },
  "luminance": 0.26722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5F58

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

Preview Lab → · Contrast checker → · Palette generator →

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