#EC9987#EC9987

#EC9987 is a light, moderate red. Relative luminance 0.424; OKLCH L 76.2% C 0.104 H 32.9°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#EC9987
RGBrgb(236, 153, 135)
HSLhsl(11, 73%, 73%)
HSVhsv(11, 43%, 93%)
CMYKcmyk(0%, 35.2%, 42.8%, 7.5%)
CIE-LABlab(71.12, 29.05, 22.36)
CIE-LCHlch(71.12, 36.67, 37.59°)
OKLaboklab(76.21% 0.0872 0.0564)
OKLCHoklch(76.21% 0.104 32.9)
XYZxyz(50.3589, 42.3686, 28.4426)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC9987 #87DAEC
analogous
#EC87A7 #EC9987 #ECCB87
triadic
#EC9987 #87EC99 #9987EC
tetradic
#EC9987 #A7EC87 #87DAEC #CB87EC
square
#EC9987 #A7EC87 #87DAEC #CB87EC
split-complementary
#EC9987 #87ECCB #87A7EC
monochromatic
#D74222 #E46C52 #EC9987 #F4C6BC #FBE9E5

Accessibility & contrast

On white

2.22
#EC9987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#EC9987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC9987
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC9987#FFFFFF#000000##000000
##EC99871.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA485
Deuteranopia (green-blind)
#C0B586
Tritanopia (blue-blind)
#FD8D94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ec9987;
/* rgb */ color: rgb(236, 153, 135);
/* oklch */ color: oklch(76.2% 0.104 32.9);
Tailwind
colors: {
  custom: {
    50: '#f5b7aa',
    500: '#ec9987',
    950: '#000000',
  },
}
SCSS
$custom: #ec9987;
$custom-light: #f5b7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec9987",
  "rgb": {
    "r": 236,
    "g": 153,
    "b": 135
  },
  "hsl": {
    "h": 10.693,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76205,
    "c": 0.10388,
    "h": 32.9
  },
  "luminance": 0.42365
}

Semantic roles & 50–950 ramp

primary
#EC9987
secondary
#D9EEF2
accent
#B2D511
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#171110
muted
#85807F

Preview Lab

Preview with #EC9987

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

Preview Lab → · Contrast checker → · Palette generator →

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