#DB87A2#DB87A2

#DB87A2 is a light, moderate pink. Relative luminance 0.350; OKLCH L 71.9% C 0.107 H 359.4°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#DB87A2
RGBrgb(219, 135, 162)
HSLhsl(341, 54%, 69%)
HSVhsv(341, 38%, 86%)
CMYKcmyk(0%, 38.4%, 26%, 14.1%)
CIE-LABlab(65.75, 35.59, -0.59)
CIE-LCHlch(65.75, 35.60, 359.04°)
OKLaboklab(71.86% 0.1074 -0.0011)
OKLCHoklch(71.86% 0.107 359.4)
XYZxyz(44.4001, 34.9998, 38.5925)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB87A2 #87DBC0
analogous
#DB87CC #DB87A2 #DB9687
triadic
#DB87A2 #A2DB87 #87A2DB
tetradic
#DB87A2 #CCDB87 #87DBC0 #9687DB
square
#DB87A2 #CCDB87 #87DBC0 #9687DB
split-complementary
#DB87A2 #87DB96 #87CCDB
monochromatic
#B2355E #CD587E #DB87A2 #E9B6C6 #F7E5EB

Accessibility & contrast

On white

2.63
#DB87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#DB87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB87A2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB87A2#FFFFFF#000000##000000
##DB87A21.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9297A3
Deuteranopia (green-blind)
#A7A5A0
Tritanopia (blue-blind)
#E88290
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db87a2;
/* rgb */ color: rgb(219, 135, 162);
/* oklch */ color: oklch(71.9% 0.107 359.4);
Tailwind
colors: {
  custom: {
    50: '#e8abbd',
    500: '#db87a2',
    950: '#000000',
  },
}
SCSS
$custom: #db87a2;
$custom-light: #e8abbd;
$custom-dark: #000000;
JSON
{
  "hex": "#db87a2",
  "rgb": {
    "r": 219,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 340.714,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71856,
    "c": 0.10742,
    "h": 359.4
  },
  "luminance": 0.34997
}

Semantic roles & 50–950 ramp

primary
#DB87A2
secondary
#D3EBE3
accent
#C18F24
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#161012
muted
#847F81

Preview Lab

Preview with #DB87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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