#D87CA2#D87CA2

#D87CA2 is a light, vivid pink. Relative luminance 0.316; OKLCH L 69.7% C 0.122 H 354.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#D87CA2
RGBrgb(216, 124, 162)
HSLhsl(335, 54%, 67%)
HSVhsv(335, 43%, 85%)
CMYKcmyk(0%, 42.6%, 25%, 15.3%)
CIE-LABlab(63.03, 40.33, -4.63)
CIE-LCHlch(63.03, 40.59, 353.45°)
OKLaboklab(69.71% 0.1214 -0.0117)
OKLCHoklch(69.71% 0.122 354.5)
XYZxyz(42.0493, 31.6260, 38.0652)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87CA2 #7CD8B2
analogous
#D87CD0 #D87CA2 #D8847C
triadic
#D87CA2 #A2D87C #7CA2D8
tetradic
#D87CA2 #D0D87C #7CD8B2 #847CD8
square
#D87CA2 #D0D87C #7CD8B2 #847CD8
split-complementary
#D87CA2 #7CD884 #7CD0D8
monochromatic
#A83263 #CA4D81 #D87CA2 #E6ABC3 #F4DAE5

Accessibility & contrast

On white

2.87
#D87CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#D87CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87CA2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87CA2#FFFFFF#000000##000000
##D87CA21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#9E9FA0
Tritanopia (blue-blind)
#E5788A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d87ca2;
/* rgb */ color: rgb(216, 124, 162);
/* oklch */ color: oklch(69.7% 0.122 354.5);
Tailwind
colors: {
  custom: {
    50: '#e6a4bd',
    500: '#d87ca2',
    950: '#000000',
  },
}
SCSS
$custom: #d87ca2;
$custom-light: #e6a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ca2",
  "rgb": {
    "r": 216,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 335.217,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69714,
    "c": 0.122,
    "h": 354.5
  },
  "luminance": 0.31623
}

Semantic roles & 50–950 ramp

primary
#D87CA2
secondary
#C9E7DA
accent
#C28024
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D87CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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