#E87FA7#E87FA7

#E87FA7 is a light, vivid pink. Relative luminance 0.351; OKLCH L 72.3% C 0.136 H 356.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#E87FA7
RGBrgb(232, 127, 167)
HSLhsl(337, 70%, 70%)
HSVhsv(337, 45%, 91%)
CMYKcmyk(0%, 45.3%, 28%, 9%)
CIE-LABlab(65.85, 44.95, -3.08)
CIE-LCHlch(65.85, 45.05, 356.07°)
OKLaboklab(72.32% 0.1359 -0.0075)
OKLCHoklch(72.32% 0.136 356.8)
XYZxyz(47.8448, 35.1285, 40.8123)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FA7 #7FE8C0
analogous
#E87FDB #E87FA7 #E88B7F
triadic
#E87FA7 #A7E87F #7FA7E8
tetradic
#E87FA7 #DBE87F #7FE8C0 #8B7FE8
square
#E87FA7 #DBE87F #7FE8C0 #8B7FE8
split-complementary
#E87FA7 #7FE88B #7FDBE8
monochromatic
#C92463 #DF4B83 #E87FA7 #F1B3CB #FAE5ED

Accessibility & contrast

On white

2.62
#E87FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#E87FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FA7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FA7#FFFFFF#000000##000000
##E87FA71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D94A8
Deuteranopia (green-blind)
#A8A7A5
Tritanopia (blue-blind)
#F7798D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e87fa7;
/* rgb */ color: rgb(232, 127, 167);
/* oklch */ color: oklch(72.3% 0.136 356.8);
Tailwind
colors: {
  custom: {
    50: '#f2a6c1',
    500: '#e87fa7',
    950: '#000000',
  },
}
SCSS
$custom: #e87fa7;
$custom-light: #f2a6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fa7",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 337.143,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72324,
    "c": 0.13612,
    "h": 356.8
  },
  "luminance": 0.35125
}

Semantic roles & 50–950 ramp

primary
#E87FA7
secondary
#D3F0E5
accent
#D28914
background
#FFFAFB
surface
#FEF4F7
border
#D6CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #E87FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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