#E87FA2#E87FA2

#E87FA2 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.2% C 0.134 H 359.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#E87FA2
RGBrgb(232, 127, 162)
HSLhsl(340, 70%, 70%)
HSVhsv(340, 45%, 91%)
CMYKcmyk(0%, 45.3%, 30.2%, 9%)
CIE-LABlab(65.71, 44.30, -0.46)
CIE-LCHlch(65.71, 44.30, 359.41°)
OKLaboklab(72.17% 0.1342 -0.0006)
OKLCHoklch(72.17% 0.134 359.7)
XYZxyz(47.3915, 34.9471, 38.4249)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FA2 #7FE8C5
analogous
#E87FD6 #E87FA2 #E8907F
triadic
#E87FA2 #A2E87F #7FA2E8
tetradic
#E87FA2 #D6E87F #7FE8C5 #907FE8
square
#E87FA2 #D6E87F #7FE8C5 #907FE8
split-complementary
#E87FA2 #7FE890 #7FD6E8
monochromatic
#C9245B #DF4B7C #E87FA2 #F1B3C8 #FAE5EC

Accessibility & contrast

On white

2.63
#E87FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#E87FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FA2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FA2#FFFFFF#000000##000000
##E87FA21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E94A3
Deuteranopia (green-blind)
#A9A7A0
Tritanopia (blue-blind)
#F7788C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e87fa2;
/* rgb */ color: rgb(232, 127, 162);
/* oklch */ color: oklch(72.2% 0.134 359.7);
Tailwind
colors: {
  custom: {
    50: '#f2a6bd',
    500: '#e87fa2',
    950: '#000000',
  },
}
SCSS
$custom: #e87fa2;
$custom-light: #f2a6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fa2",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 340,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72171,
    "c": 0.1342,
    "h": 359.7
  },
  "luminance": 0.34943
}

Semantic roles & 50–950 ramp

primary
#E87FA2
secondary
#D3F0E6
accent
#D29214
background
#FFFAFB
surface
#FEF4F6
border
#D6CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #E87FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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