#DE87C7#DE87C7

#DE87C7 is a light, vivid pink. Relative luminance 0.370; OKLCH L 73.5% C 0.133 H 337.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DE87C7
RGBrgb(222, 135, 199)
HSLhsl(316, 57%, 70%)
HSVhsv(316, 39%, 87%)
CMYKcmyk(0%, 39.2%, 10.4%, 12.9%)
CIE-LABlab(67.26, 42.28, -19.10)
CIE-LCHlch(67.26, 46.40, 335.69°)
OKLaboklab(73.47% 0.1226 -0.0511)
OKLCHoklch(73.47% 0.133 337.3)
XYZxyz(49.0969, 36.9838, 58.5743)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87C7 #87DE9E
analogous
#CA87DE #DE87C7 #DE879B
triadic
#DE87C7 #C7DE87 #87C7DE
tetradic
#DE87C7 #DECA87 #87DE9E #879BDE
square
#DE87C7 #DECA87 #87DE9E #879BDE
split-complementary
#DE87C7 #9BDE87 #87DECA
monochromatic
#B83395 #D157B1 #DE87C7 #EBB7DD #F8E7F4

Accessibility & contrast

On white

2.50
#DE87C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#DE87C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87C7
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87C7#FFFFFF#000000##000000
##DE87C71.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#899CC9
Deuteranopia (green-blind)
#9FA9C4
Tritanopia (blue-blind)
#E78A9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #de87c7;
/* rgb */ color: rgb(222, 135, 199);
/* oklch */ color: oklch(73.5% 0.133 337.3);
Tailwind
colors: {
  custom: {
    50: '#eaabd8',
    500: '#de87c7',
    950: '#000000',
  },
}
SCSS
$custom: #de87c7;
$custom-light: #eaabd8;
$custom-dark: #000000;
JSON
{
  "hex": "#de87c7",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 315.862,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.73465,
    "c": 0.13281,
    "h": 337.3
  },
  "luminance": 0.36981
}

Semantic roles & 50–950 ramp

primary
#DE87C7
secondary
#D4EDDB
accent
#C44C21
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DE87C7

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

Preview Lab → · Contrast checker → · Palette generator →

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