#DB87BC#DB87BC

#DB87BC is a light, vivid pink. Relative luminance 0.360; OKLCH L 72.7% C 0.122 H 342.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DB87BC
RGBrgb(219, 135, 188)
HSLhsl(322, 54%, 69%)
HSVhsv(322, 38%, 86%)
CMYKcmyk(0%, 38.4%, 14.2%, 14.1%)
CIE-LABlab(66.54, 39.50, -14.07)
CIE-LCHlch(66.54, 41.93, 340.39°)
OKLaboklab(72.72% 0.116 -0.0373)
OKLCHoklch(72.72% 0.122 342.2)
XYZxyz(46.9548, 36.0216, 52.0469)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87BC #87DBA6
analogous
#D087DB #DB87BC #DB8792
triadic
#DB87BC #BCDB87 #87BCDB
tetradic
#DB87BC #DBD087 #87DBA6 #8792DB
square
#DB87BC #DBD087 #87DBA6 #8792DB
split-complementary
#DB87BC #92DB87 #87DBD0
monochromatic
#B23584 #CD58A2 #DB87BC #E9B6D6 #F7E5F1

Accessibility & contrast

On white

2.56
#DB87BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DB87BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87BC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87BC#FFFFFF#000000##000000
##DB87BC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ABE
Deuteranopia (green-blind)
#A1A7BA
Tritanopia (blue-blind)
#E5879A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db87bc;
/* rgb */ color: rgb(219, 135, 188);
/* oklch */ color: oklch(72.7% 0.122 342.2);
Tailwind
colors: {
  custom: {
    50: '#e7abd0',
    500: '#db87bc',
    950: '#000000',
  },
}
SCSS
$custom: #db87bc;
$custom-light: #e7abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#db87bc",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 322.143,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72715,
    "c": 0.12186,
    "h": 342.2
  },
  "luminance": 0.36019
}

Semantic roles & 50–950 ramp

primary
#DB87BC
secondary
#D3EBDC
accent
#C15E24
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #DB87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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