#EC987F#EC987F

#EC987F is a light, moderate red. Relative luminance 0.418; OKLCH L 75.9% C 0.108 H 37.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#EC987F
RGBrgb(236, 152, 127)
HSLhsl(14, 74%, 71%)
HSVhsv(14, 46%, 93%)
CMYKcmyk(0%, 35.6%, 46.2%, 7.5%)
CIE-LABlab(70.75, 28.77, 26.24)
CIE-LCHlch(70.75, 38.94, 42.37°)
OKLaboklab(75.87% 0.0857 0.0654)
OKLCHoklch(75.87% 0.108 37.3)
XYZxyz(49.6537, 41.8257, 25.5326)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC987F #7FD3EC
analogous
#EC7F9C #EC987F #ECCE7F
triadic
#EC987F #7FEC98 #987FEC
tetradic
#EC987F #9CEC7F #7FD3EC #CE7FEC
square
#EC987F #9CEC7F #7FD3EC #CE7FEC
split-complementary
#EC987F #7FECCE #7F9CEC
monochromatic
#D2481F #E46D4A #EC987F #F4C3B4 #FBEAE4

Accessibility & contrast

On white

2.24
#EC987F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#EC987F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC987F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC987F#FFFFFF#000000##000000
##EC987F1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA37D
Deuteranopia (green-blind)
#C0B47E
Tritanopia (blue-blind)
#FE8B92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec987f;
/* rgb */ color: rgb(236, 152, 127);
/* oklch */ color: oklch(75.9% 0.108 37.3);
Tailwind
colors: {
  custom: {
    50: '#f5b7a4',
    500: '#ec987f',
    950: '#000000',
  },
}
SCSS
$custom: #ec987f;
$custom-light: #f5b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec987f",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 13.761,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75869,
    "c": 0.10778,
    "h": 37.3
  },
  "luminance": 0.41822
}

Semantic roles & 50–950 ramp

primary
#EC987F
secondary
#D5EBF2
accent
#A9D60F
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#17110F
muted
#85807F

Preview Lab

Preview with #EC987F

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

Preview Lab → · Contrast checker → · Palette generator →

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