#DE87CB#DE87CB

#DE87CB is a light, vivid pink. Relative luminance 0.372; OKLCH L 73.6% C 0.136 H 335.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#DE87CB
RGBrgb(222, 135, 203)
HSLhsl(313, 57%, 70%)
HSVhsv(313, 39%, 87%)
CMYKcmyk(0%, 39.2%, 8.6%, 12.9%)
CIE-LABlab(67.41, 42.95, -21.12)
CIE-LCHlch(67.41, 47.86, 333.82°)
OKLaboklab(73.62% 0.1237 -0.0568)
OKLCHoklch(73.62% 0.136 335.3)
XYZxyz(49.5675, 37.1720, 61.0524)
Luminance0.3717 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87CB #87DE9A
analogous
#C587DE #DE87CB #DE87A0
triadic
#DE87CB #CBDE87 #87CBDE
tetradic
#DE87CB #DEC587 #87DE9A #87A0DE
square
#DE87CB #DEC587 #87DE9A #87A0DE
split-complementary
#DE87CB #A0DE87 #87DEC5
monochromatic
#B8339B #D157B6 #DE87CB #EBB7E0 #F8E7F5

Accessibility & contrast

On white

2.49
#DE87CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#DE87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87CB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87CB#FFFFFF#000000##000000
##DE87CB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCD
Deuteranopia (green-blind)
#9EA9C8
Tritanopia (blue-blind)
#E68BA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de87cb;
/* rgb */ color: rgb(222, 135, 203);
/* oklch */ color: oklch(73.6% 0.136 335.3);
Tailwind
colors: {
  custom: {
    50: '#eaacdb',
    500: '#de87cb',
    950: '#000000',
  },
}
SCSS
$custom: #de87cb;
$custom-light: #eaacdb;
$custom-dark: #000000;
JSON
{
  "hex": "#de87cb",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 313.103,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.73618,
    "c": 0.13606,
    "h": 335.3
  },
  "luminance": 0.37169
}

Semantic roles & 50–950 ramp

primary
#DE87CB
secondary
#D4EDDA
accent
#C44521
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161015
muted
#847F83

Preview Lab

Preview with #DE87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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