#DF87CB#DF87CB

#DF87CB is a light, vivid pink. Relative luminance 0.373; OKLCH L 73.7% C 0.137 H 335.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#DF87CB
RGBrgb(223, 135, 203)
HSLhsl(314, 58%, 70%)
HSVhsv(314, 39%, 87%)
CMYKcmyk(0%, 39.5%, 9%, 12.5%)
CIE-LABlab(67.52, 43.27, -20.93)
CIE-LCHlch(67.52, 48.07, 334.19°)
OKLaboklab(73.73% 0.1248 -0.0562)
OKLCHoklch(73.73% 0.137 335.7)
XYZxyz(49.8747, 37.3304, 61.0668)
Luminance0.3733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF87CB #87DF9B
analogous
#C787DF #DF87CB #DF879F
triadic
#DF87CB #CBDF87 #87CBDF
tetradic
#DF87CB #DFC787 #87DF9B #879FDF
square
#DF87CB #DFC787 #87DF9B #879FDF
split-complementary
#DF87CB #9FDF87 #87DFC7
monochromatic
#BA329B #D257B6 #DF87CB #ECB7E0 #F9E7F5

Accessibility & contrast

On white

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

On black

8.47
#DF87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF87CB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF87CB#FFFFFF#000000##000000
##DF87CB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df87cb;
/* rgb */ color: rgb(223, 135, 203);
/* oklch */ color: oklch(73.7% 0.137 335.7);
Tailwind
colors: {
  custom: {
    50: '#eaacdb',
    500: '#df87cb',
    950: '#000000',
  },
}
SCSS
$custom: #df87cb;
$custom-light: #eaacdb;
$custom-dark: #000000;
JSON
{
  "hex": "#df87cb",
  "rgb": {
    "r": 223,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 313.636,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73733,
    "c": 0.13685,
    "h": 335.7
  },
  "luminance": 0.37328
}

Semantic roles & 50–950 ramp

primary
#DF87CB
secondary
#D5EDDA
accent
#C54620
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161015
muted
#847F83

Preview Lab

Preview with #DF87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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