#D87BC2#D87BC2

#D87BC2 is a light, vivid pink. Relative luminance 0.327; OKLCH L 70.7% C 0.145 H 336.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D87BC2
RGBrgb(216, 123, 194)
HSLhsl(314, 54%, 66%)
HSVhsv(314, 43%, 85%)
CMYKcmyk(0%, 43.1%, 10.2%, 15.3%)
CIE-LABlab(63.89, 45.76, -21.50)
CIE-LCHlch(63.89, 50.56, 334.83°)
OKLaboklab(70.71% 0.1326 -0.0578)
OKLCHoklch(70.71% 0.145 336.4)
XYZxyz(45.1395, 32.6626, 54.9554)
Luminance0.3266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BC2 #7BD891
analogous
#C07BD8 #D87BC2 #D87B94
triadic
#D87BC2 #C2D87B #7BC2D8
tetradic
#D87BC2 #D8C07B #7BD891 #7B94D8
square
#D87BC2 #D8C07B #7BD891 #7B94D8
split-complementary
#D87BC2 #94D87B #7BD8C0
monochromatic
#A7318B #CA4CAC #D87BC2 #E6AAD8 #F4D9EE

Accessibility & contrast

On white

2.79
#D87BC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#D87BC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BC2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BC2#FFFFFF#000000##000000
##D87BC21.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C5
Deuteranopia (green-blind)
#95A0BF
Tritanopia (blue-blind)
#E17E96
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d87bc2;
/* rgb */ color: rgb(216, 123, 194);
/* oklch */ color: oklch(70.7% 0.145 336.4);
Tailwind
colors: {
  custom: {
    50: '#e6a3d4',
    500: '#d87bc2',
    950: '#000000',
  },
}
SCSS
$custom: #d87bc2;
$custom-light: #e6a3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bc2",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 314.194,
    "s": 54.386,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.14461,
    "h": 336.4
  },
  "luminance": 0.3266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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