#EF987F#EF987F

#EF987F is a light, moderate red. Relative luminance 0.423; OKLCH L 76.2% C 0.111 H 36.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#EF987F
RGBrgb(239, 152, 127)
HSLhsl(13, 78%, 72%)
HSVhsv(13, 47%, 94%)
CMYKcmyk(0%, 36.4%, 46.9%, 6.3%)
CIE-LABlab(71.11, 29.93, 26.78)
CIE-LCHlch(71.11, 40.16, 41.82°)
OKLaboklab(76.22% 0.0891 0.0666)
OKLCHoklch(76.22% 0.111 36.8)
XYZxyz(50.6584, 42.3438, 25.5797)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF987F #7FD6EF
analogous
#EF7F9E #EF987F #EFD07F
triadic
#EF987F #7FEF98 #987FEF
tetradic
#EF987F #9EEF7F #7FD6EF #D07FEF
square
#EF987F #9EEF7F #7FD6EF #D07FEF
split-complementary
#EF987F #7FEFD0 #7F9EEF
monochromatic
#D9451B #E86C49 #EF987F #F6C4B5 #FCE9E4

Accessibility & contrast

On white

2.22
#EF987F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#EF987F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF987F
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF987F#FFFFFF#000000##000000
##EF987F1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA37D
Deuteranopia (green-blind)
#C2B57E
Tritanopia (blue-blind)
#FF8A92
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ef987f;
/* rgb */ color: rgb(239, 152, 127);
/* oklch */ color: oklch(76.2% 0.111 36.8);
Tailwind
colors: {
  custom: {
    50: '#f7b7a4',
    500: '#ef987f',
    950: '#000000',
  },
}
SCSS
$custom: #ef987f;
$custom-light: #f7b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ef987f",
  "rgb": {
    "r": 239,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 13.393,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7622,
    "c": 0.11121,
    "h": 36.8
  },
  "luminance": 0.4234
}

Semantic roles & 50–950 ramp

primary
#EF987F
secondary
#D7EDF3
accent
#ACDA0B
background
#FFFBFA
surface
#FFF6F4
border
#D7D0CE
text
#18110F
muted
#86807F

Preview Lab

Preview with #EF987F

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

Preview Lab → · Contrast checker → · Palette generator →

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