#EC5A5B#EC5A5B

#EC5A5B is a light, vivid red. Relative luminance 0.259; OKLCH L 65.9% C 0.181 H 23.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#EC5A5B
RGBrgb(236, 90, 91)
HSLhsl(360, 79%, 64%)
HSVhsv(360, 62%, 93%)
CMYKcmyk(0%, 61.9%, 61.4%, 7.5%)
CIE-LABlab(57.95, 56.39, 29.57)
CIE-LCHlch(57.95, 63.67, 27.67°)
OKLaboklab(65.92% 0.1664 0.071)
OKLCHoklch(65.92% 0.181 23.1)
XYZxyz(40.1404, 25.9059, 12.7821)
Luminance0.2590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A5B #5AECEB
analogous
#EC5AA4 #EC5A5B #ECA25A
triadic
#EC5A5B #5BEC5A #5A5BEC
tetradic
#EC5A5B #A4EC5A #5AECEB #A25AEC
square
#EC5A5B #A4EC5A #5AECEB #A25AEC
split-complementary
#EC5A5B #5AECA2 #5AA4EC
monochromatic
#B71516 #E62324 #EC5A5B #F29192 #F9C8C8

Accessibility & contrast

On white

3.40
#EC5A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#EC5A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A5B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A5B#FFFFFF#000000##000000
##EC5A5B1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F785A
Deuteranopia (green-blind)
#A49757
Tritanopia (blue-blind)
#FF3C5C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5a5b;
/* rgb */ color: rgb(236, 90, 91);
/* oklch */ color: oklch(65.9% 0.181 23.1);
Tailwind
colors: {
  custom: {
    50: '#f98f89',
    500: '#ec5a5b',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a5b;
$custom-light: #f98f89;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a5b",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 91
  },
  "hsl": {
    "h": 359.589,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65918,
    "c": 0.18094,
    "h": 23.1
  },
  "luminance": 0.25901
}

Semantic roles & 50–950 ramp

primary
#EC5A5B
secondary
#B7EBEA
accent
#DCDA0A
background
#FFF9F8
surface
#FFF1F0
border
#D7CBCB
text
#190D0B
muted
#877E7C

Preview Lab

Preview with #EC5A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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