#EF87AB#EF87AB

#EF87AB is a light, vivid pink. Relative luminance 0.386; OKLCH L 74.5% C 0.133 H 358.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EF87AB
RGBrgb(239, 135, 171)
HSLhsl(339, 76%, 73%)
HSVhsv(339, 44%, 94%)
CMYKcmyk(0%, 43.5%, 28.5%, 6.3%)
CIE-LABlab(68.48, 43.80, -1.38)
CIE-LCHlch(68.48, 43.82, 358.20°)
OKLaboklab(74.54% 0.1325 -0.003)
OKLCHoklch(74.54% 0.133 358.7)
XYZxyz(51.6130, 38.6231, 43.2568)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF87AB #87EFCB
analogous
#EF87DF #EF87AB #EF9787
triadic
#EF87AB #ABEF87 #87ABEF
tetradic
#EF87AB #DFEF87 #87EFCB #9787EF
square
#EF87AB #DFEF87 #87EFCB #9787EF
split-complementary
#EF87AB #87EF97 #87DFEF
monochromatic
#DE1E60 #E85185 #EF87AB #F6BDD1 #FBE4EC

Accessibility & contrast

On white

2.41
#EF87AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EF87AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF87AB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF87AB#FFFFFF#000000##000000
##EF87AB1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#969BAC
Deuteranopia (green-blind)
#B0AEA9
Tritanopia (blue-blind)
#FE8194
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ef87ab;
/* rgb */ color: rgb(239, 135, 171);
/* oklch */ color: oklch(74.5% 0.133 358.7);
Tailwind
colors: {
  custom: {
    50: '#f7acc3',
    500: '#ef87ab',
    950: '#000000',
  },
}
SCSS
$custom: #ef87ab;
$custom-light: #f7acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ef87ab",
  "rgb": {
    "r": 239,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 339.231,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74538,
    "c": 0.13251,
    "h": 358.7
  },
  "luminance": 0.38619
}

Semantic roles & 50–950 ramp

primary
#EF87AB
secondary
#D8F3EA
accent
#D9920D
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #EF87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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