#D87FAC#D87FAC

#D87FAC is a light, vivid pink. Relative luminance 0.328; OKLCH L 70.5% C 0.122 H 349.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D87FAC
RGBrgb(216, 127, 172)
HSLhsl(330, 53%, 67%)
HSVhsv(330, 41%, 85%)
CMYKcmyk(0%, 41.2%, 20.4%, 15.3%)
CIE-LABlab(63.97, 40.21, -8.93)
CIE-LCHlch(63.97, 41.19, 347.48°)
OKLaboklab(70.52% 0.1201 -0.0233)
OKLCHoklch(70.52% 0.122 349)
XYZxyz(43.3555, 32.7592, 43.0613)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FAC #7FD8AB
analogous
#D77FD8 #D87FAC #D87F80
triadic
#D87FAC #ACD87F #7FACD8
tetradic
#D87FAC #D8D77F #7FD8AB #7F80D8
square
#D87FAC #D8D77F #7FD8AB #7F80D8
split-complementary
#D87FAC #80D87F #7FD8D7
monochromatic
#A9346F #CA508E #D87FAC #E6AECA #F5DDE9

Accessibility & contrast

On white

2.78
#D87FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D87FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FAC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FAC#FFFFFF#000000##000000
##D87FAC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8792AE
Deuteranopia (green-blind)
#9EA1AA
Tritanopia (blue-blind)
#E47D8F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d87fac;
/* rgb */ color: rgb(216, 127, 172);
/* oklch */ color: oklch(70.5% 0.122 349.0);
Tailwind
colors: {
  custom: {
    50: '#e6a6c4',
    500: '#d87fac',
    950: '#000000',
  },
}
SCSS
$custom: #d87fac;
$custom-light: #e6a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fac",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 329.663,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70521,
    "c": 0.12229,
    "h": 349
  },
  "luminance": 0.32756
}

Semantic roles & 50–950 ramp

primary
#D87FAC
secondary
#CBE7D9
accent
#C17225
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F12
muted
#847F81

Preview Lab

Preview with #D87FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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