#DC87CB#DC87CB

#DC87CB is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.4% C 0.134 H 334.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#DC87CB
RGBrgb(220, 135, 203)
HSLhsl(312, 55%, 70%)
HSVhsv(312, 39%, 86%)
CMYKcmyk(0%, 38.6%, 7.7%, 13.7%)
CIE-LABlab(67.17, 42.31, -21.50)
CIE-LCHlch(67.17, 47.46, 333.06°)
OKLaboklab(73.39% 0.1214 -0.0578)
OKLCHoklch(73.39% 0.134 334.5)
XYZxyz(48.9584, 36.8580, 61.0238)
Luminance0.3685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87CB #87DC98
analogous
#C387DC #DC87CB #DC87A1
triadic
#DC87CB #CBDC87 #87CBDC
tetradic
#DC87CB #DCC387 #87DC98 #87A1DC
square
#DC87CB #DCC387 #87DC98 #87A1DC
split-complementary
#DC87CB #A1DC87 #87DCC3
monochromatic
#B4359B #CE58B6 #DC87CB #EAB6E0 #F8E6F4

Accessibility & contrast

On white

2.51
#DC87CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#DC87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87CB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87CB#FFFFFF#000000##000000
##DC87CB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCD
Deuteranopia (green-blind)
#9DA8C8
Tritanopia (blue-blind)
#E48BA0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc87cb;
/* rgb */ color: rgb(220, 135, 203);
/* oklch */ color: oklch(73.4% 0.134 334.5);
Tailwind
colors: {
  custom: {
    50: '#e8abdb',
    500: '#dc87cb',
    950: '#000000',
  },
}
SCSS
$custom: #dc87cb;
$custom-light: #e8abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87cb",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 312,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73389,
    "c": 0.13449,
    "h": 334.5
  },
  "luminance": 0.36855
}

Semantic roles & 50–950 ramp

primary
#DC87CB
secondary
#D3ECD8
accent
#C24323
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161015
muted
#847F83

Preview Lab

Preview with #DC87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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