#DC87C8#DC87C8

#DC87C8 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.3% C 0.132 H 336.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DC87C8
RGBrgb(220, 135, 200)
HSLhsl(314, 55%, 70%)
HSVhsv(314, 39%, 86%)
CMYKcmyk(0%, 38.6%, 9.1%, 13.7%)
CIE-LABlab(67.06, 41.80, -19.99)
CIE-LCHlch(67.06, 46.34, 334.45°)
OKLaboklab(73.27% 0.1206 -0.0536)
OKLCHoklch(73.27% 0.132 336)
XYZxyz(48.6043, 36.7163, 59.1592)
Luminance0.3671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87C8 #87DC9B
analogous
#C687DC #DC87C8 #DC879D
triadic
#DC87C8 #C8DC87 #87C8DC
tetradic
#DC87C8 #DCC687 #87DC9B #879DDC
square
#DC87C8 #DCC687 #87DC9B #879DDC
split-complementary
#DC87C8 #9DDC87 #87DCC6
monochromatic
#B43596 #CE58B2 #DC87C8 #EAB6DE #F8E6F3

Accessibility & contrast

On white

2.52
#DC87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DC87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87C8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87C8#FFFFFF#000000##000000
##DC87C81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BCA
Deuteranopia (green-blind)
#9EA8C6
Tritanopia (blue-blind)
#E48A9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc87c8;
/* rgb */ color: rgb(220, 135, 200);
/* oklch */ color: oklch(73.3% 0.132 336.0);
Tailwind
colors: {
  custom: {
    50: '#e8abd8',
    500: '#dc87c8',
    950: '#000000',
  },
}
SCSS
$custom: #dc87c8;
$custom-light: #e8abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87c8",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 314.118,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73274,
    "c": 0.13199,
    "h": 336
  },
  "luminance": 0.36714
}

Semantic roles & 50–950 ramp

primary
#DC87C8
secondary
#D3ECD9
accent
#C24923
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #DC87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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