#D87398#D87398

#D87398 is a light, vivid pink. Relative luminance 0.291; OKLCH L 68.0% C 0.132 H 357.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D87398
RGBrgb(216, 115, 152)
HSLhsl(338, 56%, 65%)
HSVhsv(338, 47%, 85%)
CMYKcmyk(0%, 46.8%, 29.6%, 15.3%)
CIE-LABlab(60.90, 43.61, -2.05)
CIE-LCHlch(60.90, 43.66, 357.31°)
OKLaboklab(68% 0.1321 -0.0048)
OKLCHoklch(68% 0.132 357.9)
XYZxyz(40.1186, 29.1308, 33.2095)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87398 #73D8B3
analogous
#D873CB #D87398 #D88173
triadic
#D87398 #98D873 #7398D8
tetradic
#D87398 #CBD873 #73D8B3 #8173D8
square
#D87398 #CBD873 #73D8B3 #8173D8
split-complementary
#D87398 #73D881 #73CBD8
monochromatic
#A32D59 #CB4375 #D87398 #E5A3BB #F3D3DE

Accessibility & contrast

On white

3.08
#D87398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D87398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D87398
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87398#FFFFFF#000000##000000
##D873981.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#818899
Deuteranopia (green-blind)
#9B9A96
Tritanopia (blue-blind)
#E66D80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d87398;
/* rgb */ color: rgb(216, 115, 152);
/* oklch */ color: oklch(68.0% 0.132 357.9);
Tailwind
colors: {
  custom: {
    50: '#e79eb6',
    500: '#d87398',
    950: '#000000',
  },
}
SCSS
$custom: #d87398;
$custom-light: #e79eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87398",
  "rgb": {
    "r": 216,
    "g": 115,
    "b": 152
  },
  "hsl": {
    "h": 338.02,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68003,
    "c": 0.13217,
    "h": 357.9
  },
  "luminance": 0.29127
}

Semantic roles & 50–950 ramp

primary
#D87398
secondary
#C2E5D8
accent
#C48822
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#160E11
muted
#847E80

Preview Lab

Preview with #D87398

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

Preview Lab → · Contrast checker → · Palette generator →

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