#D87F98#D87F98

#D87F98 is a light, moderate pink. Relative luminance 0.320; OKLCH L 69.9% C 0.113 H 2.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D87F98
RGBrgb(216, 127, 152)
HSLhsl(343, 53%, 67%)
HSVhsv(343, 41%, 85%)
CMYKcmyk(0%, 41.2%, 29.6%, 15.3%)
CIE-LABlab(63.38, 37.39, 1.59)
CIE-LCHlch(63.38, 37.42, 2.43°)
OKLaboklab(69.89% 0.1132 0.0046)
OKLCHoklch(69.89% 0.113 2.4)
XYZxyz(41.5772, 32.0479, 33.6957)
Luminance0.3205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87F98 #7FD8BF
analogous
#D87FC5 #D87F98 #D8937F
triadic
#D87F98 #98D87F #7F98D8
tetradic
#D87F98 #C5D87F #7FD8BF #937FD8
square
#D87F98 #C5D87F #7FD8BF #937FD8
split-complementary
#D87F98 #7FD893 #7FC5D8
monochromatic
#A93455 #CA5072 #D87F98 #E6AEBE #F5DDE3

Accessibility & contrast

On white

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

On black

7.41
#D87F98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87F98
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87F98#FFFFFF#000000##000000
##D87F981.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8F99
Deuteranopia (green-blind)
#A2A096
Tritanopia (blue-blind)
#E67988
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d87f98;
/* rgb */ color: rgb(216, 127, 152);
/* oklch */ color: oklch(69.9% 0.113 2.4);
Tailwind
colors: {
  custom: {
    50: '#e6a5b6',
    500: '#d87f98',
    950: '#000000',
  },
}
SCSS
$custom: #d87f98;
$custom-light: #e6a5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87f98",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 152
  },
  "hsl": {
    "h": 343.146,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69886,
    "c": 0.1133,
    "h": 2.4
  },
  "luminance": 0.32045
}

Semantic roles & 50–950 ramp

primary
#D87F98
secondary
#CBE7E0
accent
#C19525
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D87F98

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

Preview Lab → · Contrast checker → · Palette generator →

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