#EC5051#EC5051

#EC5051 is a light, vivid red. Relative luminance 0.242; OKLCH L 64.6% C 0.192 H 23.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#EC5051
RGBrgb(236, 80, 81)
HSLhsl(360, 80%, 62%)
HSVhsv(360, 66%, 93%)
CMYKcmyk(0%, 66.1%, 65.7%, 7.5%)
CIE-LABlab(56.26, 59.93, 33.17)
CIE-LCHlch(56.26, 68.50, 28.96°)
OKLaboklab(64.6% 0.1758 0.078)
OKLCHoklch(64.6% 0.192 23.9)
XYZxyz(38.9500, 24.1698, 10.3972)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5051 #50ECEB
analogous
#EC509F #EC5051 #EC9D50
triadic
#EC5051 #51EC50 #5051EC
tetradic
#EC5051 #9FEC50 #50ECEB #9D50EC
square
#EC5051 #9FEC50 #50ECEB #9D50EC
split-complementary
#EC5051 #50EC9D #509FEC
monochromatic
#AF1314 #E6191A #EC5051 #F28788 #F8BEBF

Accessibility & contrast

On white

3.60
#EC5051 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#EC5051 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5051
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5051#FFFFFF#000000##000000
##EC50511.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7250
Deuteranopia (green-blind)
#A1934D
Tritanopia (blue-blind)
#FF2852
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec5051;
/* rgb */ color: rgb(236, 80, 81);
/* oklch */ color: oklch(64.6% 0.192 23.9);
Tailwind
colors: {
  custom: {
    50: '#fa8982',
    500: '#ec5051',
    950: '#000000',
  },
}
SCSS
$custom: #ec5051;
$custom-light: #fa8982;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5051",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 81
  },
  "hsl": {
    "h": 359.615,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.646,
    "c": 0.1923,
    "h": 23.9
  },
  "luminance": 0.24164
}

Semantic roles & 50–950 ramp

primary
#EC5051
secondary
#AFE9E8
accent
#DDDB09
background
#FFF8F7
surface
#FFF0EE
border
#D7CBC9
text
#190C0A
muted
#867D7C

Preview Lab

Preview with #EC5051

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

Preview Lab → · Contrast checker → · Palette generator →

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