#E87FAC#E87FAC

#E87FAC is a light, vivid pink. Relative luminance 0.353; OKLCH L 72.5% C 0.138 H 354.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#E87FAC
RGBrgb(232, 127, 172)
HSLhsl(334, 70%, 70%)
HSVhsv(334, 45%, 91%)
CMYKcmyk(0%, 45.3%, 25.9%, 9%)
CIE-LABlab(65.99, 45.62, -5.70)
CIE-LCHlch(65.99, 45.97, 352.88°)
OKLaboklab(72.48% 0.1376 -0.0145)
OKLCHoklch(72.48% 0.138 354)
XYZxyz(48.3159, 35.3169, 43.2939)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87FAC #7FE8BB
analogous
#E87FE0 #E87FAC #E8877F
triadic
#E87FAC #ACE87F #7FACE8
tetradic
#E87FAC #E0E87F #7FE8BB #877FE8
square
#E87FAC #E0E87F #7FE8BB #877FE8
split-complementary
#E87FAC #7FE887 #7FE0E8
monochromatic
#C9246B #DF4B8A #E87FAC #F1B3CE #FAE5EE

Accessibility & contrast

On white

2.60
#E87FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#E87FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87FAC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87FAC#FFFFFF#000000##000000
##E87FAC1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C95AE
Deuteranopia (green-blind)
#A7A7A9
Tritanopia (blue-blind)
#F67A8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e87fac;
/* rgb */ color: rgb(232, 127, 172);
/* oklch */ color: oklch(72.5% 0.138 354.0);
Tailwind
colors: {
  custom: {
    50: '#f2a6c4',
    500: '#e87fac',
    950: '#000000',
  },
}
SCSS
$custom: #e87fac;
$custom-light: #f2a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e87fac",
  "rgb": {
    "r": 232,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 334.286,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72482,
    "c": 0.13833,
    "h": 354
  },
  "luminance": 0.35313
}

Semantic roles & 50–950 ramp

primary
#E87FAC
secondary
#D3F0E3
accent
#D28014
background
#FFFAFC
surface
#FEF4F8
border
#D6CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #E87FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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