#D87DC6#D87DC6

#D87DC6 is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.2% C 0.144 H 334.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D87DC6
RGBrgb(216, 125, 198)
HSLhsl(312, 54%, 67%)
HSVhsv(312, 42%, 85%)
CMYKcmyk(0%, 42.1%, 8.3%, 15.3%)
CIE-LABlab(64.44, 45.40, -22.91)
CIE-LCHlch(64.44, 50.85, 333.22°)
OKLaboklab(71.17% 0.1306 -0.0618)
OKLCHoklch(71.17% 0.144 334.7)
XYZxyz(45.8454, 33.3460, 57.4368)
Luminance0.3334 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87DC6 #7DD88F
analogous
#BD7DD8 #D87DC6 #D87D99
triadic
#D87DC6 #C6D87D #7DC6D8
tetradic
#D87DC6 #D8BD7D #7DD88F #7D99D8
square
#D87DC6 #D8BD7D #7DD88F #7D99D8
split-complementary
#D87DC6 #99D87D #7DD8BD
monochromatic
#A83291 #CA4EB1 #D87DC6 #E6ACDB #F4DBEF

Accessibility & contrast

On white

2.74
#D87DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D87DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87DC6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87DC6#FFFFFF#000000##000000
##D87DC61.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D94C9
Deuteranopia (green-blind)
#95A1C3
Tritanopia (blue-blind)
#E08199
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d87dc6;
/* rgb */ color: rgb(216, 125, 198);
/* oklch */ color: oklch(71.2% 0.144 334.7);
Tailwind
colors: {
  custom: {
    50: '#e6a5d7',
    500: '#d87dc6',
    950: '#000000',
  },
}
SCSS
$custom: #d87dc6;
$custom-light: #e6a5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d87dc6",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 311.868,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.14445,
    "h": 334.7
  },
  "luminance": 0.33343
}

Semantic roles & 50–950 ramp

primary
#D87DC6
secondary
#CAE7D0
accent
#C14324
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D87DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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