#DF87CD#DF87CD

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

Color values

HEX#DF87CD
RGBrgb(223, 135, 205)
HSLhsl(312, 58%, 70%)
HSVhsv(312, 39%, 87%)
CMYKcmyk(0%, 39.5%, 8.1%, 12.5%)
CIE-LABlab(67.60, 43.61, -21.93)
CIE-LCHlch(67.60, 48.81, 333.30°)
OKLaboklab(73.81% 0.1253 -0.059)
OKLCHoklch(73.81% 0.139 334.8)
XYZxyz(50.1146, 37.4264, 62.3301)
Luminance0.3742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87CD #87DF99
analogous
#C587DF #DF87CD #DF87A1
triadic
#DF87CD #CDDF87 #87CDDF
tetradic
#DF87CD #DFC587 #87DF99 #87A1DF
square
#DF87CD #DFC587 #87DF99 #87A1DF
split-complementary
#DF87CD #A1DF87 #87DFC5
monochromatic
#BA329E #D257B9 #DF87CD #ECB7E1 #F9E7F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF87CD#FFFFFF#000000##000000
##DF87CD1.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)
#879DD0
Deuteranopia (green-blind)
#9EA9CA
Tritanopia (blue-blind)
#E78BA1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df87cd;
/* rgb */ color: rgb(223, 135, 205);
/* oklch */ color: oklch(73.8% 0.139 334.8);
Tailwind
colors: {
  custom: {
    50: '#eaacdc',
    500: '#df87cd',
    950: '#000000',
  },
}
SCSS
$custom: #df87cd;
$custom-light: #eaacdc;
$custom-dark: #000000;
JSON
{
  "hex": "#df87cd",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 312.273,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7381,
    "c": 0.13852,
    "h": 334.8
  },
  "luminance": 0.37424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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