#DC87C2#DC87C2

#DC87C2 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.0% C 0.127 H 339.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DC87C2
RGBrgb(220, 135, 194)
HSLhsl(318, 55%, 70%)
HSVhsv(318, 39%, 86%)
CMYKcmyk(0%, 38.6%, 11.8%, 13.7%)
CIE-LABlab(66.86, 40.81, -16.94)
CIE-LCHlch(66.86, 44.18, 337.45°)
OKLaboklab(73.05% 0.1189 -0.0452)
OKLCHoklch(73.05% 0.127 339.2)
XYZxyz(47.9169, 36.4413, 55.5385)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87C2 #87DCA1
analogous
#CC87DC #DC87C2 #DC8798
triadic
#DC87C2 #C2DC87 #87C2DC
tetradic
#DC87C2 #DCCC87 #87DCA1 #8798DC
square
#DC87C2 #DCCC87 #87DCA1 #8798DC
split-complementary
#DC87C2 #98DC87 #87DCCC
monochromatic
#B4358D #CE58AA #DC87C2 #EAB6DA #F8E6F2

Accessibility & contrast

On white

2.53
#DC87C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DC87C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87C2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87C2#FFFFFF#000000##000000
##DC87C21.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9BC4
Deuteranopia (green-blind)
#9FA7C0
Tritanopia (blue-blind)
#E5899D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc87c2;
/* rgb */ color: rgb(220, 135, 194);
/* oklch */ color: oklch(73.0% 0.127 339.2);
Tailwind
colors: {
  custom: {
    50: '#e8abd4',
    500: '#dc87c2',
    950: '#000000',
  },
}
SCSS
$custom: #dc87c2;
$custom-light: #e8abd4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87c2",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 318.353,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73048,
    "c": 0.1272,
    "h": 339.2
  },
  "luminance": 0.36439
}

Semantic roles & 50–950 ramp

primary
#DC87C2
secondary
#D3ECDB
accent
#C25423
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DC87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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