#D87DB2#D87DB2

#D87DB2 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.4% C 0.129 H 345.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D87DB2
RGBrgb(216, 125, 178)
HSLhsl(325, 54%, 67%)
HSVhsv(325, 42%, 85%)
CMYKcmyk(0%, 42.1%, 17.6%, 15.3%)
CIE-LABlab(63.74, 42.17, -12.67)
CIE-LCHlch(63.74, 44.03, 343.27°)
OKLaboklab(70.41% 0.125 -0.0334)
OKLCHoklch(70.41% 0.129 345)
XYZxyz(43.6890, 32.4834, 46.0797)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DB2 #7DD8A3
analogous
#D17DD8 #D87DB2 #D87D85
triadic
#D87DB2 #B2D87D #7DB2D8
tetradic
#D87DB2 #D8D17D #7DD8A3 #7D85D8
square
#D87DB2 #D8D17D #7DD8A3 #7D85D8
split-complementary
#D87DB2 #85D87D #7DD8D1
monochromatic
#A83277 #CA4E96 #D87DB2 #E6ACCE #F4DBEA

Accessibility & contrast

On white

2.80
#D87DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D87DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DB2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DB2#FFFFFF#000000##000000
##D87DB21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8491B4
Deuteranopia (green-blind)
#9BA0B0
Tritanopia (blue-blind)
#E37C90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87db2;
/* rgb */ color: rgb(216, 125, 178);
/* oklch */ color: oklch(70.4% 0.129 345.0);
Tailwind
colors: {
  custom: {
    50: '#e6a4c9',
    500: '#d87db2',
    950: '#000000',
  },
}
SCSS
$custom: #d87db2;
$custom-light: #e6a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d87db2",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 325.055,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70414,
    "c": 0.12942,
    "h": 345
  },
  "luminance": 0.32481
}

Semantic roles & 50–950 ramp

primary
#D87DB2
secondary
#CAE7D6
accent
#C16624
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D87DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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