#E87FA5#E87FA5

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

Color values

HEX#E87FA5
RGBrgb(232, 127, 165)
HSLhsl(338, 70%, 70%)
HSVhsv(338, 45%, 91%)
CMYKcmyk(0%, 45.3%, 28.9%, 9%)
CIE-LABlab(65.79, 44.68, -2.04)
CIE-LCHlch(65.79, 44.73, 357.39°)
OKLaboklab(72.26% 0.1352 -0.0048)
OKLCHoklch(72.26% 0.135 358)
XYZxyz(47.6613, 35.0551, 39.8461)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FA5 #7FE8C2
analogous
#E87FD9 #E87FA5 #E88E7F
triadic
#E87FA5 #A5E87F #7FA5E8
tetradic
#E87FA5 #D9E87F #7FE8C2 #8E7FE8
square
#E87FA5 #D9E87F #7FE8C2 #8E7FE8
split-complementary
#E87FA5 #7FE88E #7FD9E8
monochromatic
#C92460 #DF4B81 #E87FA5 #F1B3C9 #FAE5ED

Accessibility & contrast

On white

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

On black

8.01
#E87FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FA5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FA5#FFFFFF#000000##000000
##E87FA51.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e87fa5;
/* rgb */ color: rgb(232, 127, 165);
/* oklch */ color: oklch(72.3% 0.135 358.0);
Tailwind
colors: {
  custom: {
    50: '#f2a6bf',
    500: '#e87fa5',
    950: '#000000',
  },
}
SCSS
$custom: #e87fa5;
$custom-light: #f2a6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fa5",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 338.286,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72262,
    "c": 0.13531,
    "h": 358
  },
  "luminance": 0.35051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E87FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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