#CD87BB#CD87BB

#CD87BB is a light, moderate pink. Relative luminance 0.339; OKLCH L 71.1% C 0.109 H 336.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CD87BB
RGBrgb(205, 135, 187)
HSLhsl(315, 41%, 67%)
HSVhsv(315, 34%, 80%)
CMYKcmyk(0%, 34.1%, 8.8%, 19.6%)
CIE-LABlab(64.88, 34.65, -16.17)
CIE-LCHlch(64.88, 38.23, 334.98°)
OKLaboklab(71.09% 0.0999 -0.0432)
OKLCHoklch(71.09% 0.109 336.6)
XYZxyz(42.8102, 33.8970, 51.2919)
Luminance0.3389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87BB #87CD99
analogous
#BC87CD #CD87BB #CD8798
triadic
#CD87BB #BBCD87 #87BBCD
tetradic
#CD87BB #CDBC87 #87CD99 #8798CD
square
#CD87BB #CDBC87 #87CD99 #8798CD
split-complementary
#CD87BB #98CD87 #87CDBC
monochromatic
#9A4083 #BB5CA3 #CD87BB #DFB2D3 #F1DDEC

Accessibility & contrast

On white

2.70
#CD87BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CD87BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87BB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87BB#FFFFFF#000000##000000
##CD87BB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BD
Deuteranopia (green-blind)
#99A1B9
Tritanopia (blue-blind)
#D4899A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd87bb;
/* rgb */ color: rgb(205, 135, 187);
/* oklch */ color: oklch(71.1% 0.109 336.6);
Tailwind
colors: {
  custom: {
    50: '#ddabcf',
    500: '#cd87bb',
    950: '#000000',
  },
}
SCSS
$custom: #cd87bb;
$custom-light: #ddabcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87bb",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 315.429,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.10882,
    "h": 336.6
  },
  "luminance": 0.33895
}

Semantic roles & 50–950 ramp

primary
#CD87BB
secondary
#CDE3D2
accent
#B45331
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #CD87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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