#EC7987#EC7987

#EC7987 is a light, vivid red. Relative luminance 0.333; OKLCH L 71.0% C 0.142 H 13.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#EC7987
RGBrgb(236, 121, 135)
HSLhsl(353, 75%, 70%)
HSVhsv(353, 49%, 93%)
CMYKcmyk(0%, 48.7%, 42.8%, 7.5%)
CIE-LABlab(64.37, 45.58, 13.04)
CIE-LCHlch(64.37, 47.41, 15.96°)
OKLaboklab(71.05% 0.1379 0.0337)
OKLCHoklch(71.05% 0.142 13.7)
XYZxyz(45.8054, 33.2615, 26.9248)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7987 #79ECDE
analogous
#EC79C0 #EC7987 #ECA579
triadic
#EC7987 #87EC79 #7987EC
tetradic
#EC7987 #C0EC79 #79ECDE #A579EC
square
#EC7987 #C0EC79 #79ECDE #A579EC
split-complementary
#EC7987 #79ECA5 #79C0EC
monochromatic
#CD1D33 #E44357 #EC7987 #F4AFB7 #FBE4E7

Accessibility & contrast

On white

2.74
#EC7987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#EC7987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7987
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7987#FFFFFF#000000##000000
##EC79871.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E87
Deuteranopia (green-blind)
#ADA585
Tritanopia (blue-blind)
#FE6B7E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ec7987;
/* rgb */ color: rgb(236, 121, 135);
/* oklch */ color: oklch(71.0% 0.142 13.7);
Tailwind
colors: {
  custom: {
    50: '#f6a2a9',
    500: '#ec7987',
    950: '#000000',
  },
}
SCSS
$custom: #ec7987;
$custom-light: #f6a2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7987",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 352.696,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.71047,
    "c": 0.14193,
    "h": 13.7
  },
  "luminance": 0.33257
}

Semantic roles & 50–950 ramp

primary
#EC7987
secondary
#D0F0ED
accent
#D7BF0E
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EC7987

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

Preview Lab → · Contrast checker → · Palette generator →

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