#E87FA8#E87FA8

#E87FA8 is a light, vivid pink. Relative luminance 0.352; OKLCH L 72.4% C 0.137 H 356.3°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#E87FA8
RGBrgb(232, 127, 168)
HSLhsl(337, 70%, 70%)
HSVhsv(337, 45%, 91%)
CMYKcmyk(0%, 45.3%, 27.6%, 9%)
CIE-LABlab(65.88, 45.08, -3.61)
CIE-LCHlch(65.88, 45.22, 355.42°)
OKLaboklab(72.36% 0.1362 -0.0089)
OKLCHoklch(72.36% 0.137 356.3)
XYZxyz(47.9376, 35.1656, 41.3011)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FA8 #7FE8BF
analogous
#E87FDD #E87FA8 #E88A7F
triadic
#E87FA8 #A8E87F #7FA8E8
tetradic
#E87FA8 #DDE87F #7FE8BF #8A7FE8
square
#E87FA8 #DDE87F #7FE8BF #8A7FE8
split-complementary
#E87FA8 #7FE88A #7FDDE8
monochromatic
#C92464 #DF4B85 #E87FA8 #F1B3CB #FAE5ED

Accessibility & contrast

On white

2.61
#E87FA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#E87FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FA8
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FA8#FFFFFF#000000##000000
##E87FA81.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D94A9
Deuteranopia (green-blind)
#A8A7A6
Tritanopia (blue-blind)
#F7798E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e87fa8;
/* rgb */ color: rgb(232, 127, 168);
/* oklch */ color: oklch(72.4% 0.137 356.3);
Tailwind
colors: {
  custom: {
    50: '#f2a6c1',
    500: '#e87fa8',
    950: '#000000',
  },
}
SCSS
$custom: #e87fa8;
$custom-light: #f2a6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fa8",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 336.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72355,
    "c": 0.13653,
    "h": 356.3
  },
  "luminance": 0.35162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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