#DC87CA#DC87CA

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

Color values

HEX#DC87CA
RGBrgb(220, 135, 202)
HSLhsl(313, 55%, 70%)
HSVhsv(313, 39%, 86%)
CMYKcmyk(0%, 38.6%, 8.2%, 13.7%)
CIE-LABlab(67.13, 42.14, -21.00)
CIE-LCHlch(67.13, 47.08, 333.52°)
OKLaboklab(73.35% 0.1211 -0.0564)
OKLCHoklch(73.35% 0.134 335)
XYZxyz(48.8396, 36.8104, 60.3983)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87CA #87DC99
analogous
#C487DC #DC87CA #DC87A0
triadic
#DC87CA #CADC87 #87CADC
tetradic
#DC87CA #DCC487 #87DC99 #87A0DC
square
#DC87CA #DCC487 #87DC99 #87A0DC
split-complementary
#DC87CA #A0DC87 #87DCC4
monochromatic
#B43599 #CE58B5 #DC87CA #EAB6DF #F8E6F4

Accessibility & contrast

On white

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

On black

8.36
#DC87CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87CA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87CA#FFFFFF#000000##000000
##DC87CA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc87ca;
/* rgb */ color: rgb(220, 135, 202);
/* oklch */ color: oklch(73.4% 0.134 335.0);
Tailwind
colors: {
  custom: {
    50: '#e8abda',
    500: '#dc87ca',
    950: '#000000',
  },
}
SCSS
$custom: #dc87ca;
$custom-light: #e8abda;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87ca",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 312.706,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7335,
    "c": 0.13365,
    "h": 335
  },
  "luminance": 0.36808
}

Semantic roles & 50–950 ramp

primary
#DC87CA
secondary
#D3ECD8
accent
#C24523
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DC87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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