#CD87BA#CD87BA

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

Color values

HEX#CD87BA
RGBrgb(205, 135, 186)
HSLhsl(316, 41%, 67%)
HSVhsv(316, 34%, 80%)
CMYKcmyk(0%, 34.1%, 9.3%, 19.6%)
CIE-LABlab(64.85, 34.48, -15.66)
CIE-LCHlch(64.85, 37.86, 335.58°)
OKLaboklab(71.06% 0.0996 -0.0418)
OKLCHoklch(71.06% 0.108 337.2)
XYZxyz(42.7035, 33.8543, 50.7300)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87BA #87CD9A
analogous
#BD87CD #CD87BA #CD8797
triadic
#CD87BA #BACD87 #87BACD
tetradic
#CD87BA #CDBD87 #87CD9A #8797CD
square
#CD87BA #CDBD87 #87CD9A #8797CD
split-complementary
#CD87BA #97CD87 #87CDBD
monochromatic
#9A4081 #BB5CA1 #CD87BA #DFB2D3 #F1DDEC

Accessibility & contrast

On white

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

On black

7.77
#CD87BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87BA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87BA#FFFFFF#000000##000000
##CD87BA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BC
Deuteranopia (green-blind)
#99A1B8
Tritanopia (blue-blind)
#D48999
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd87ba;
/* rgb */ color: rgb(205, 135, 186);
/* oklch */ color: oklch(71.1% 0.108 337.2);
Tailwind
colors: {
  custom: {
    50: '#ddabce',
    500: '#cd87ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd87ba;
$custom-light: #ddabce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87ba",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 316.286,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.10797,
    "h": 337.2
  },
  "luminance": 0.33852
}

Semantic roles & 50–950 ramp

primary
#CD87BA
secondary
#CDE3D3
accent
#B45531
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #CD87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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