#CD87AB#CD87AB

#CD87AB is a light, moderate pink. Relative luminance 0.332; OKLCH L 70.5% C 0.097 H 347.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CD87AB
RGBrgb(205, 135, 171)
HSLhsl(329, 41%, 67%)
HSVhsv(329, 34%, 80%)
CMYKcmyk(0%, 34.1%, 16.6%, 19.6%)
CIE-LABlab(64.36, 31.99, -7.91)
CIE-LCHlch(64.36, 32.95, 346.10°)
OKLaboklab(70.53% 0.0948 -0.0207)
OKLCHoklch(70.53% 0.097 347.7)
XYZxyz(41.1918, 33.2496, 42.7683)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87AB #87CDA9
analogous
#CC87CD #CD87AB #CD8788
triadic
#CD87AB #ABCD87 #87ABCD
tetradic
#CD87AB #CDCC87 #87CDA9 #8788CD
square
#CD87AB #CDCC87 #87CDA9 #8788CD
split-complementary
#CD87AB #88CD87 #87CDCC
monochromatic
#9A406E #BB5C8D #CD87AB #DFB2C9 #F1DDE7

Accessibility & contrast

On white

2.75
#CD87AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CD87AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87AB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87AB#FFFFFF#000000##000000
##CD87AB1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D95AC
Deuteranopia (green-blind)
#9EA0A9
Tritanopia (blue-blind)
#D68694
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd87ab;
/* rgb */ color: rgb(205, 135, 171);
/* oklch */ color: oklch(70.5% 0.097 347.7);
Tailwind
colors: {
  custom: {
    50: '#ddabc4',
    500: '#cd87ab',
    950: '#000000',
  },
}
SCSS
$custom: #cd87ab;
$custom-light: #ddabc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87ab",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 329.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70528,
    "c": 0.09698,
    "h": 347.7
  },
  "luminance": 0.33247
}

Semantic roles & 50–950 ramp

primary
#CD87AB
secondary
#CDE3D8
accent
#B47131
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151012
muted
#837F81

Preview Lab

Preview with #CD87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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