#DE87B2#DE87B2

#DE87B2 is a light, moderate pink. Relative luminance 0.361; OKLCH L 72.7% C 0.118 H 349.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DE87B2
RGBrgb(222, 135, 178)
HSLhsl(330, 57%, 70%)
HSVhsv(330, 39%, 87%)
CMYKcmyk(0%, 39.2%, 19.8%, 12.9%)
CIE-LABlab(66.58, 38.96, -8.35)
CIE-LCHlch(66.58, 39.85, 347.90°)
OKLaboklab(72.72% 0.1162 -0.0217)
OKLCHoklch(72.72% 0.118 349.4)
XYZxyz(46.8248, 36.0749, 46.6077)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87B2 #87DEB3
analogous
#DE87DD #DE87B2 #DE8887
triadic
#DE87B2 #B2DE87 #87B2DE
tetradic
#DE87B2 #DDDE87 #87DEB3 #8887DE
square
#DE87B2 #DDDE87 #87DEB3 #8887DE
split-complementary
#DE87B2 #87DE88 #87DDDE
monochromatic
#B83375 #D15793 #DE87B2 #EBB7D1 #F8E7F0

Accessibility & contrast

On white

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

On black

8.21
#DE87B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87B2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87B2#FFFFFF#000000##000000
##DE87B21.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F99B4
Deuteranopia (green-blind)
#A5A7B0
Tritanopia (blue-blind)
#EA8596
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #de87b2;
/* rgb */ color: rgb(222, 135, 178);
/* oklch */ color: oklch(72.7% 0.118 349.4);
Tailwind
colors: {
  custom: {
    50: '#eaabc9',
    500: '#de87b2',
    950: '#000000',
  },
}
SCSS
$custom: #de87b2;
$custom-light: #eaabc9;
$custom-dark: #000000;
JSON
{
  "hex": "#de87b2",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 330.345,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.11822,
    "h": 349.4
  },
  "luminance": 0.36072
}

Semantic roles & 50–950 ramp

primary
#DE87B2
secondary
#D4EDE1
accent
#C47421
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#161013
muted
#847F82

Preview Lab

Preview with #DE87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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