#EC5954#EC5954

#EC5954 is a light, vivid red. Relative luminance 0.256; OKLCH L 65.7% C 0.183 H 25.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#EC5954
RGBrgb(236, 89, 84)
HSLhsl(2, 80%, 63%)
HSVhsv(2, 64%, 93%)
CMYKcmyk(0%, 62.3%, 64.4%, 7.5%)
CIE-LABlab(57.68, 56.39, 33.22)
CIE-LCHlch(57.68, 65.45, 30.50°)
OKLaboklab(65.68% 0.1652 0.0785)
OKLCHoklch(65.68% 0.183 25.4)
XYZxyz(39.7686, 25.6231, 11.2374)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5954 #54E7EC
analogous
#EC549B #EC5954 #ECA554
triadic
#EC5954 #54EC59 #5954EC
tetradic
#EC5954 #9BEC54 #54E7EC #A554EC
square
#EC5954 #9BEC54 #54E7EC #A554EC
split-complementary
#EC5954 #54ECA5 #549BEC
monochromatic
#B21914 #E6241D #EC5954 #F28E8B #F8C4C2

Accessibility & contrast

On white

3.43
#EC5954 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#EC5954 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5954
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5954#FFFFFF#000000##000000
##EC59541.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807752
Deuteranopia (green-blind)
#A59650
Tritanopia (blue-blind)
#FF3959
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5954;
/* rgb */ color: rgb(236, 89, 84);
/* oklch */ color: oklch(65.7% 0.183 25.4);
Tailwind
colors: {
  custom: {
    50: '#f98e84',
    500: '#ec5954',
    950: '#000000',
  },
}
SCSS
$custom: #ec5954;
$custom-light: #f98e84;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5954",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 84
  },
  "hsl": {
    "h": 1.974,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.18287,
    "h": 25.4
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#EC5954
secondary
#B2E8E9
accent
#D5DC09
background
#FFF9F8
surface
#FFF1EF
border
#D7CBCA
text
#190D0B
muted
#877E7C

Preview Lab

Preview with #EC5954

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

Preview Lab → · Contrast checker → · Palette generator →

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