#D87BC4#D87BC4

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

Color values

HEX#D87BC4
RGBrgb(216, 123, 196)
HSLhsl(313, 54%, 66%)
HSVhsv(313, 43%, 85%)
CMYKcmyk(0%, 43.1%, 9.3%, 15.3%)
CIE-LABlab(63.96, 46.09, -22.52)
CIE-LCHlch(63.96, 51.30, 333.96°)
OKLaboklab(70.79% 0.1331 -0.0606)
OKLCHoklch(70.79% 0.146 335.5)
XYZxyz(45.3656, 32.7530, 56.1463)
Luminance0.3275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BC4 #7BD88F
analogous
#BE7BD8 #D87BC4 #D87B96
triadic
#D87BC4 #C4D87B #7BC4D8
tetradic
#D87BC4 #D8BE7B #7BD88F #7B96D8
square
#D87BC4 #D8BE7B #7BD88F #7B96D8
split-complementary
#D87BC4 #96D87B #7BD8BE
monochromatic
#A7318E #CA4CAF #D87BC4 #E6AAD9 #F4D9EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87BC4#FFFFFF#000000##000000
##D87BC41.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)
#7C92C7
Deuteranopia (green-blind)
#94A0C1
Tritanopia (blue-blind)
#E07F97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d87bc4;
/* rgb */ color: rgb(216, 123, 196);
/* oklch */ color: oklch(70.8% 0.146 335.5);
Tailwind
colors: {
  custom: {
    50: '#e6a3d6',
    500: '#d87bc4',
    950: '#000000',
  },
}
SCSS
$custom: #d87bc4;
$custom-light: #e6a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bc4",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 312.903,
    "s": 54.386,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70787,
    "c": 0.14623,
    "h": 335.5
  },
  "luminance": 0.3275
}

Semantic roles & 50–950 ramp

primary
#D87BC4
secondary
#C8E6CF
accent
#C24624
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D87BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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