#EC8D87#EC8D87

#EC8D87 is a light, moderate red. Relative luminance 0.386; OKLCH L 74.2% C 0.117 H 24.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#EC8D87
RGBrgb(236, 141, 135)
HSLhsl(4, 73%, 73%)
HSVhsv(4, 43%, 93%)
CMYKcmyk(0%, 40.3%, 42.8%, 7.5%)
CIE-LABlab(68.49, 35.36, 18.76)
CIE-LCHlch(68.49, 40.03, 27.94°)
OKLaboklab(74.18% 0.1064 0.0477)
OKLCHoklch(74.18% 0.117 24.1)
XYZxyz(48.4927, 38.6361, 27.8205)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8D87 #87E6EC
analogous
#EC87B4 #EC8D87 #ECBF87
triadic
#EC8D87 #87EC8D #8D87EC
tetradic
#EC8D87 #B4EC87 #87E6EC #BF87EC
square
#EC8D87 #B4EC87 #87E6EC #BF87EC
split-complementary
#EC8D87 #87ECBF #87B4EC
monochromatic
#D72D22 #E45B52 #EC8D87 #F4BFBC #FBE6E5

Accessibility & contrast

On white

2.41
#EC8D87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#EC8D87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8D87
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8D87#FFFFFF#000000##000000
##EC8D871.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19B86
Deuteranopia (green-blind)
#B8AE85
Tritanopia (blue-blind)
#FE818C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec8d87;
/* rgb */ color: rgb(236, 141, 135);
/* oklch */ color: oklch(74.2% 0.117 24.1);
Tailwind
colors: {
  custom: {
    50: '#f5afaa',
    500: '#ec8d87',
    950: '#000000',
  },
}
SCSS
$custom: #ec8d87;
$custom-light: #f5afaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8d87",
  "rgb": {
    "r": 236,
    "g": 141,
    "b": 135
  },
  "hsl": {
    "h": 3.564,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.11662,
    "h": 24.1
  },
  "luminance": 0.38632
}

Semantic roles & 50–950 ramp

primary
#EC8D87
secondary
#D9F1F2
accent
#C9D511
background
#FFFAFA
surface
#FFF5F4
border
#D7CFCE
text
#171010
muted
#857F7F

Preview Lab

Preview with #EC8D87

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

Preview Lab → · Contrast checker → · Palette generator →

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