#E87FD2#E87FD2

#E87FD2 is a light, vivid pink. Relative luminance 0.370; OKLCH L 73.9% C 0.163 H 335.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#E87FD2
RGBrgb(232, 127, 210)
HSLhsl(313, 70%, 70%)
HSVhsv(313, 45%, 91%)
CMYKcmyk(0%, 45.3%, 9.5%, 9%)
CIE-LABlab(67.27, 51.32, -25.12)
CIE-LCHlch(67.27, 57.14, 333.92°)
OKLaboklab(73.86% 0.1483 -0.0678)
OKLCHoklch(73.86% 0.163 335.4)
XYZxyz(52.5010, 36.9909, 65.3349)
Luminance0.3699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FD2 #7FE895
analogous
#C97FE8 #E87FD2 #E87F9E
triadic
#E87FD2 #D2E87F #7FD2E8
tetradic
#E87FD2 #E8C97F #7FE895 #7F9EE8
square
#E87FD2 #E8C97F #7FE895 #7F9EE8
split-complementary
#E87FD2 #9EE87F #7FE8C9
monochromatic
#C924A6 #DF4BC0 #E87FD2 #F1B3E4 #FAE5F6

Accessibility & contrast

On white

2.50
#E87FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#E87FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FD2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FD2#FFFFFF#000000##000000
##E87FD21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#809AD5
Deuteranopia (green-blind)
#9CA9CF
Tritanopia (blue-blind)
#F1849F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e87fd2;
/* rgb */ color: rgb(232, 127, 210);
/* oklch */ color: oklch(73.9% 0.163 335.4);
Tailwind
colors: {
  custom: {
    50: '#f1a7e0',
    500: '#e87fd2',
    950: '#000000',
  },
}
SCSS
$custom: #e87fd2;
$custom-light: #f1a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fd2",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 312.571,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.16307,
    "h": 335.4
  },
  "luminance": 0.36988
}

Semantic roles & 50–950 ramp

primary
#E87FD2
secondary
#D3F0D9
accent
#D23C14
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #E87FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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