#D887CA#D887CA

#D887CA is a light, vivid pink. Relative luminance 0.362; OKLCH L 72.9% C 0.131 H 333.3°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D887CA
RGBrgb(216, 135, 202)
HSLhsl(310, 51%, 69%)
HSVhsv(310, 38%, 85%)
CMYKcmyk(0%, 37.5%, 6.5%, 15.3%)
CIE-LABlab(66.67, 40.86, -21.75)
CIE-LCHlch(66.67, 46.29, 331.97°)
OKLaboklab(72.9% 0.1166 -0.0586)
OKLCHoklch(72.9% 0.131 333.3)
XYZxyz(47.6431, 36.1935, 60.3422)
Luminance0.3619 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D887CA #87D895
analogous
#BE87D8 #D887CA #D887A2
triadic
#D887CA #CAD887 #87CAD8
tetradic
#D887CA #D8BE87 #87D895 #87A2D8
square
#D887CA #D8BE87 #87D895 #87A2D8
split-complementary
#D887CA #A2D887 #87D8BE
monochromatic
#AD3898 #C959B6 #D887CA #E7B5DE #F6E3F3

Accessibility & contrast

On white

2.55
#D887CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#D887CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D887CA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D887CA#FFFFFF#000000##000000
##D887CA1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#9BA6C8
Tritanopia (blue-blind)
#DF8BA0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d887ca;
/* rgb */ color: rgb(216, 135, 202);
/* oklch */ color: oklch(72.9% 0.131 333.3);
Tailwind
colors: {
  custom: {
    50: '#e5abda',
    500: '#d887ca',
    950: '#000000',
  },
}
SCSS
$custom: #d887ca;
$custom-light: #e5abda;
$custom-dark: #000000;
JSON
{
  "hex": "#d887ca",
  "rgb": {
    "r": 216,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 310.37,
    "s": 50.943,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72896,
    "c": 0.13052,
    "h": 333.3
  },
  "luminance": 0.36191
}

Semantic roles & 50–950 ramp

primary
#D887CA
secondary
#D1E9D6
accent
#BE4127
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D887CA

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

Preview Lab → · Contrast checker → · Palette generator →

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