#EF7987#EF7987

#EF7987 is a light, vivid red. Relative luminance 0.338; OKLCH L 71.4% C 0.145 H 14.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#EF7987
RGBrgb(239, 121, 135)
HSLhsl(353, 79%, 71%)
HSVhsv(353, 49%, 94%)
CMYKcmyk(0%, 49.4%, 43.5%, 6.3%)
CIE-LABlab(64.79, 46.63, 13.68)
CIE-LCHlch(64.79, 48.60, 16.35°)
OKLaboklab(71.45% 0.141 0.0352)
OKLCHoklch(71.45% 0.145 14)
XYZxyz(46.8100, 33.7795, 26.9719)
Luminance0.3377 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF7987 #79EFE1
analogous
#EF79C2 #EF7987 #EFA679
triadic
#EF7987 #87EF79 #7987EF
tetradic
#EF7987 #C2EF79 #79EFE1 #A679EF
square
#EF7987 #C2EF79 #79EFE1 #A679EF
split-complementary
#EF7987 #79EFA6 #79C2EF
monochromatic
#D41930 #E84256 #EF7987 #F6B0B8 #FCE4E7

Accessibility & contrast

On white

2.71
#EF7987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#EF7987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF7987
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF7987#FFFFFF#000000##000000
##EF79871.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918F87
Deuteranopia (green-blind)
#AFA685
Tritanopia (blue-blind)
#FF6B7E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ef7987;
/* rgb */ color: rgb(239, 121, 135);
/* oklch */ color: oklch(71.4% 0.145 14.0);
Tailwind
colors: {
  custom: {
    50: '#f8a2a9',
    500: '#ef7987',
    950: '#000000',
  },
}
SCSS
$custom: #ef7987;
$custom-light: #f8a2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ef7987",
  "rgb": {
    "r": 239,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 352.881,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71446,
    "c": 0.14535,
    "h": 14
  },
  "luminance": 0.33775
}

Semantic roles & 50–950 ramp

primary
#EF7987
secondary
#D2F2EE
accent
#DBC20B
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#180F10
muted
#867F7F

Preview Lab

Preview with #EF7987

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

Preview Lab → · Contrast checker → · Palette generator →

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