#D87F9B#D87F9B

#D87F9B is a light, moderate pink. Relative luminance 0.321; OKLCH L 70.0% C 0.114 H 0.3°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D87F9B
RGBrgb(216, 127, 155)
HSLhsl(341, 53%, 67%)
HSVhsv(341, 41%, 85%)
CMYKcmyk(0%, 41.2%, 28.2%, 15.3%)
CIE-LABlab(63.46, 37.79, -0.00)
CIE-LCHlch(63.46, 37.79, 359.99°)
OKLaboklab(69.98% 0.1143 0.0005)
OKLCHoklch(69.98% 0.114 0.3)
XYZxyz(41.8260, 32.1474, 35.0061)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87F9B #7FD8BC
analogous
#D87FC7 #D87F9B #D8907F
triadic
#D87F9B #9BD87F #7F9BD8
tetradic
#D87F9B #C7D87F #7FD8BC #907FD8
square
#D87F9B #C7D87F #7FD8BC #907FD8
split-complementary
#D87F9B #7FD890 #7FC7D8
monochromatic
#A93459 #CA5076 #D87F9B #E6AEC0 #F5DDE4

Accessibility & contrast

On white

2.83
#D87F9B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D87F9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87F9B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87F9B#FFFFFF#000000##000000
##D87F9B1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C909C
Deuteranopia (green-blind)
#A2A099
Tritanopia (blue-blind)
#E57989
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87f9b;
/* rgb */ color: rgb(216, 127, 155);
/* oklch */ color: oklch(70.0% 0.114 0.3);
Tailwind
colors: {
  custom: {
    50: '#e6a5b8',
    500: '#d87f9b',
    950: '#000000',
  },
}
SCSS
$custom: #d87f9b;
$custom-light: #e6a5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#d87f9b",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 155
  },
  "hsl": {
    "h": 341.124,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69976,
    "c": 0.11428,
    "h": 0.3
  },
  "luminance": 0.32144
}

Semantic roles & 50–950 ramp

primary
#D87F9B
secondary
#CBE7DF
accent
#C19025
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D87F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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