#EC987D#EC987D

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

Color values

HEX#EC987D
RGBrgb(236, 152, 125)
HSLhsl(15, 74%, 71%)
HSVhsv(15, 47%, 93%)
CMYKcmyk(0%, 35.6%, 47%, 7.5%)
CIE-LABlab(70.71, 28.57, 27.28)
CIE-LCHlch(70.71, 39.51, 43.67°)
OKLaboklab(75.83% 0.0849 0.0677)
OKLCHoklch(75.83% 0.109 38.6)
XYZxyz(49.5247, 41.7741, 24.8529)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC987D #7DD1EC
analogous
#EC7D99 #EC987D #ECD07D
triadic
#EC987D #7DEC98 #987DEC
tetradic
#EC987D #99EC7D #7DD1EC #D07DEC
square
#EC987D #99EC7D #7DD1EC #D07DEC
split-complementary
#EC987D #7DECD0 #7D99EC
monochromatic
#D04A1E #E46E48 #EC987D #F4C2B2 #FBEAE4

Accessibility & contrast

On white

2.25
#EC987D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#EC987D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC987D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC987D#FFFFFF#000000##000000
##EC987D1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA27B
Deuteranopia (green-blind)
#C1B47C
Tritanopia (blue-blind)
#FE8B91
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ec987d;
/* rgb */ color: rgb(236, 152, 125);
/* oklch */ color: oklch(75.8% 0.109 38.6);
Tailwind
colors: {
  custom: {
    50: '#f5b7a3',
    500: '#ec987d',
    950: '#000000',
  },
}
SCSS
$custom: #ec987d;
$custom-light: #f5b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec987d",
  "rgb": {
    "r": 236,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 14.595,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75829,
    "c": 0.10863,
    "h": 38.6
  },
  "luminance": 0.4177
}

Semantic roles & 50–950 ramp

primary
#EC987D
secondary
#D3EAF1
accent
#A6D70F
background
#FFFBFA
surface
#FFF6F3
border
#D7D0CD
text
#17110F
muted
#85807F

Preview Lab

Preview with #EC987D

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

Preview Lab → · Contrast checker → · Palette generator →

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