#D87CB2#D87CB2

#D87CB2 is a light, vivid pink. Relative luminance 0.322; OKLCH L 70.3% C 0.131 H 344.9°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D87CB2
RGBrgb(216, 124, 178)
HSLhsl(325, 54%, 67%)
HSVhsv(325, 43%, 85%)
CMYKcmyk(0%, 42.6%, 17.6%, 15.3%)
CIE-LABlab(63.53, 42.69, -12.98)
CIE-LCHlch(63.53, 44.62, 343.08°)
OKLaboklab(70.26% 0.1266 -0.0343)
OKLCHoklch(70.26% 0.131 344.9)
XYZxyz(43.5630, 32.2315, 46.0377)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CB2 #7CD8A2
analogous
#D07CD8 #D87CB2 #D87C84
triadic
#D87CB2 #B2D87C #7CB2D8
tetradic
#D87CB2 #D8D07C #7CD8A2 #7C84D8
square
#D87CB2 #D8D07C #7CD8A2 #7C84D8
split-complementary
#D87CB2 #84D87C #7CD8D0
monochromatic
#A83277 #CA4D96 #D87CB2 #E6ABCE #F4DAE9

Accessibility & contrast

On white

2.82
#D87CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D87CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CB2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CB2#FFFFFF#000000##000000
##D87CB21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#9A9FB0
Tritanopia (blue-blind)
#E37B90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87cb2;
/* rgb */ color: rgb(216, 124, 178);
/* oklch */ color: oklch(70.3% 0.131 344.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4c9',
    500: '#d87cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d87cb2;
$custom-light: #e6a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d87cb2",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 324.783,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70258,
    "c": 0.13112,
    "h": 344.9
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#D87CB2
secondary
#C9E7D5
accent
#C26524
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D87CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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