#D87FA2#D87FA2

#D87FA2 is a light, moderate pink. Relative luminance 0.324; OKLCH L 70.2% C 0.117 H 355.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D87FA2
RGBrgb(216, 127, 162)
HSLhsl(336, 53%, 67%)
HSVhsv(336, 41%, 85%)
CMYKcmyk(0%, 41.2%, 25%, 15.3%)
CIE-LABlab(63.66, 38.76, -3.70)
CIE-LCHlch(63.66, 38.94, 354.55°)
OKLaboklab(70.19% 0.1167 -0.0092)
OKLCHoklch(70.19% 0.117 355.5)
XYZxyz(42.4310, 32.3894, 38.1924)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FA2 #7FD8B5
analogous
#D87FCF #D87FA2 #D8887F
triadic
#D87FA2 #A2D87F #7FA2D8
tetradic
#D87FA2 #CFD87F #7FD8B5 #887FD8
square
#D87FA2 #CFD87F #7FD8B5 #887FD8
split-complementary
#D87FA2 #7FD888 #7FCFD8
monochromatic
#A93462 #CA5080 #D87FA2 #E6AEC4 #F5DDE6

Accessibility & contrast

On white

2.81
#D87FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D87FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FA2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FA2#FFFFFF#000000##000000
##D87FA21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A3
Deuteranopia (green-blind)
#A0A0A0
Tritanopia (blue-blind)
#E57B8B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87fa2;
/* rgb */ color: rgb(216, 127, 162);
/* oklch */ color: oklch(70.2% 0.117 355.5);
Tailwind
colors: {
  custom: {
    50: '#e6a6bd',
    500: '#d87fa2',
    950: '#000000',
  },
}
SCSS
$custom: #d87fa2;
$custom-light: #e6a6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fa2",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 336.404,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70192,
    "c": 0.1171,
    "h": 355.5
  },
  "luminance": 0.32386
}

Semantic roles & 50–950 ramp

primary
#D87FA2
secondary
#CBE7DC
accent
#C18325
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D87FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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