#EC5751#EC5751

#EC5751 is a light, vivid red. Relative luminance 0.252; OKLCH L 65.4% C 0.185 H 25.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#EC5751
RGBrgb(236, 87, 81)
HSLhsl(2, 80%, 62%)
HSVhsv(2, 66%, 93%)
CMYKcmyk(0%, 63.1%, 65.7%, 7.5%)
CIE-LABlab(57.32, 57.07, 34.47)
CIE-LCHlch(57.32, 66.67, 31.13°)
OKLaboklab(65.4% 0.1668 0.0809)
OKLCHoklch(65.4% 0.185 25.9)
XYZxyz(39.4895, 25.2488, 10.5771)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5751 #51E6EC
analogous
#EC5198 #EC5751 #ECA551
triadic
#EC5751 #51EC57 #5751EC
tetradic
#EC5751 #98EC51 #51E6EC #A551EC
square
#EC5751 #98EC51 #51E6EC #A551EC
split-complementary
#EC5751 #51ECA5 #5198EC
monochromatic
#AF1913 #E6221A #EC5751 #F28C88 #F8C2BF

Accessibility & contrast

On white

3.47
#EC5751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#EC5751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5751
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5751#FFFFFF#000000##000000
##EC57511.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F754F
Deuteranopia (green-blind)
#A4964D
Tritanopia (blue-blind)
#FF3557
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5751;
/* rgb */ color: rgb(236, 87, 81);
/* oklch */ color: oklch(65.4% 0.185 25.9);
Tailwind
colors: {
  custom: {
    50: '#fa8d82',
    500: '#ec5751',
    950: '#000000',
  },
}
SCSS
$custom: #ec5751;
$custom-light: #fa8d82;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5751",
  "rgb": {
    "r": 236,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 2.323,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65395,
    "c": 0.18533,
    "h": 25.9
  },
  "luminance": 0.25243
}

Semantic roles & 50–950 ramp

primary
#EC5751
secondary
#B0E7E9
accent
#D4DD09
background
#FFF9F7
surface
#FFF1EE
border
#D7CBC9
text
#190D0A
muted
#877E7C

Preview Lab

Preview with #EC5751

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

Preview Lab → · Contrast checker → · Palette generator →

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