#CD87B0#CD87B0

#CD87B0 is a light, moderate pink. Relative luminance 0.334; OKLCH L 70.7% C 0.100 H 344.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CD87B0
RGBrgb(205, 135, 176)
HSLhsl(325, 41%, 67%)
HSVhsv(325, 34%, 80%)
CMYKcmyk(0%, 34.1%, 14.1%, 19.6%)
CIE-LABlab(64.52, 32.80, -10.51)
CIE-LCHlch(64.52, 34.44, 342.23°)
OKLaboklab(70.7% 0.0964 -0.0277)
OKLCHoklch(70.7% 0.1 344)
XYZxyz(41.6774, 33.4439, 45.3259)
Luminance0.3344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87B0 #87CDA4
analogous
#C787CD #CD87B0 #CD878D
triadic
#CD87B0 #B0CD87 #87B0CD
tetradic
#CD87B0 #CDC787 #87CDA4 #878DCD
square
#CD87B0 #CDC787 #87CDA4 #878DCD
split-complementary
#CD87B0 #8DCD87 #87CDC7
monochromatic
#9A4074 #BB5C94 #CD87B0 #DFB2CC #F1DDE9

Accessibility & contrast

On white

2.73
#CD87B0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#CD87B0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87B0
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87B0#FFFFFF#000000##000000
##CD87B01.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B96B2
Deuteranopia (green-blind)
#9CA1AE
Tritanopia (blue-blind)
#D68795
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd87b0;
/* rgb */ color: rgb(205, 135, 176);
/* oklch */ color: oklch(70.7% 0.100 344.0);
Tailwind
colors: {
  custom: {
    50: '#ddabc7',
    500: '#cd87b0',
    950: '#000000',
  },
}
SCSS
$custom: #cd87b0;
$custom-light: #ddabc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87b0",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 176
  },
  "hsl": {
    "h": 324.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.10031,
    "h": 344
  },
  "luminance": 0.33442
}

Semantic roles & 50–950 ramp

primary
#CD87B0
secondary
#CDE3D6
accent
#B46831
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CD87B0

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

Preview Lab → · Contrast checker → · Palette generator →

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