#EC987E#EC987E

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

Color values

HEX#EC987E
RGBrgb(236, 152, 126)
HSLhsl(14, 74%, 71%)
HSVhsv(14, 47%, 93%)
CMYKcmyk(0%, 35.6%, 46.6%, 7.5%)
CIE-LABlab(70.73, 28.67, 26.76)
CIE-LCHlch(70.73, 39.22, 43.03°)
OKLaboklab(75.85% 0.0853 0.0666)
OKLCHoklch(75.85% 0.108 38)
XYZxyz(49.5889, 41.7998, 25.1911)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC987E #7ED2EC
analogous
#EC7E9B #EC987E #ECCF7E
triadic
#EC987E #7EEC98 #987EEC
tetradic
#EC987E #9BEC7E #7ED2EC #CF7EEC
square
#EC987E #9BEC7E #7ED2EC #CF7EEC
split-complementary
#EC987E #7EECCF #7E9BEC
monochromatic
#D1491F #E46D49 #EC987E #F4C3B3 #FBEAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC987E#FFFFFF#000000##000000
##EC987E1.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)
#ADA27C
Deuteranopia (green-blind)
#C1B47D
Tritanopia (blue-blind)
#FE8B91
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec987e;
/* rgb */ color: rgb(236, 152, 126);
/* oklch */ color: oklch(75.8% 0.108 38.0);
Tailwind
colors: {
  custom: {
    50: '#f5b7a3',
    500: '#ec987e',
    950: '#000000',
  },
}
SCSS
$custom: #ec987e;
$custom-light: #f5b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec987e",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 14.182,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75849,
    "c": 0.10821,
    "h": 38
  },
  "luminance": 0.41796
}

Semantic roles & 50–950 ramp

primary
#EC987E
secondary
#D4EBF2
accent
#A7D60F
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#17110F
muted
#85807F

Preview Lab

Preview with #EC987E

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

Preview Lab → · Contrast checker → · Palette generator →

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