#DF87CC#DF87CC

#DF87CC is a light, vivid pink. Relative luminance 0.374; OKLCH L 73.8% C 0.138 H 335.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#DF87CC
RGBrgb(223, 135, 204)
HSLhsl(313, 58%, 70%)
HSVhsv(313, 39%, 87%)
CMYKcmyk(0%, 39.5%, 8.5%, 12.5%)
CIE-LABlab(67.56, 43.44, -21.43)
CIE-LCHlch(67.56, 48.44, 333.74°)
OKLaboklab(73.77% 0.125 -0.0576)
OKLCHoklch(73.77% 0.138 335.3)
XYZxyz(49.9943, 37.3783, 61.6964)
Luminance0.3738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87CC #87DF9A
analogous
#C687DF #DF87CC #DF87A0
triadic
#DF87CC #CCDF87 #87CCDF
tetradic
#DF87CC #DFC687 #87DF9A #87A0DF
square
#DF87CC #DFC687 #87DF9A #87A0DF
split-complementary
#DF87CC #A0DF87 #87DFC6
monochromatic
#BA329D #D257B7 #DF87CC #ECB7E1 #F9E7F5

Accessibility & contrast

On white

2.48
#DF87CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#DF87CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87CC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87CC#FFFFFF#000000##000000
##DF87CC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#9EA9C9
Tritanopia (blue-blind)
#E78BA1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df87cc;
/* rgb */ color: rgb(223, 135, 204);
/* oklch */ color: oklch(73.8% 0.138 335.3);
Tailwind
colors: {
  custom: {
    50: '#eaacdb',
    500: '#df87cc',
    950: '#000000',
  },
}
SCSS
$custom: #df87cc;
$custom-light: #eaacdb;
$custom-dark: #000000;
JSON
{
  "hex": "#df87cc",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 312.955,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73771,
    "c": 0.13768,
    "h": 335.3
  },
  "luminance": 0.37376
}

Semantic roles & 50–950 ramp

primary
#DF87CC
secondary
#D5EDDA
accent
#C54420
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DF87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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