#EC5E51#EC5E51

#EC5E51 is a light, vivid red. Relative luminance 0.264; OKLCH L 66.2% C 0.178 H 28.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#EC5E51
RGBrgb(236, 94, 81)
HSLhsl(5, 80%, 62%)
HSVhsv(5, 66%, 93%)
CMYKcmyk(0%, 60.2%, 65.7%, 7.5%)
CIE-LABlab(58.45, 54.05, 35.85)
CIE-LCHlch(58.45, 64.86, 33.56°)
OKLaboklab(66.25% 0.1573 0.084)
OKLCHoklch(66.25% 0.178 28.1)
XYZxyz(40.0839, 26.4377, 10.7752)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5E51 #51DFEC
analogous
#EC5192 #EC5E51 #ECAB51
triadic
#EC5E51 #51EC5E #5E51EC
tetradic
#EC5E51 #92EC51 #51DFEC #AB51EC
square
#EC5E51 #92EC51 #51DFEC #AB51EC
split-complementary
#EC5E51 #51ECAB #5192EC
monochromatic
#AF2013 #E62B1A #EC5E51 #F29188 #F8C4BF

Accessibility & contrast

On white

3.34
#EC5E51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#EC5E51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5E51
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5E51#FFFFFF#000000##000000
##EC5E511.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83794F
Deuteranopia (green-blind)
#A7984D
Tritanopia (blue-blind)
#FF405C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5e51;
/* rgb */ color: rgb(236, 94, 81);
/* oklch */ color: oklch(66.2% 0.178 28.1);
Tailwind
colors: {
  custom: {
    50: '#f99182',
    500: '#ec5e51',
    950: '#000000',
  },
}
SCSS
$custom: #ec5e51;
$custom-light: #f99182;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5e51",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 81
  },
  "hsl": {
    "h": 5.032,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66247,
    "c": 0.17827,
    "h": 28.1
  },
  "luminance": 0.26432
}

Semantic roles & 50–950 ramp

primary
#EC5E51
secondary
#B0E4E9
accent
#CBDD09
background
#FFF9F8
surface
#FFF1EF
border
#D7CBCA
text
#190D0A
muted
#877E7C

Preview Lab

Preview with #EC5E51

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

Preview Lab → · Contrast checker → · Palette generator →

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