#CD87A2#CD87A2

#CD87A2 is a light, moderate pink. Relative luminance 0.329; OKLCH L 70.2% C 0.092 H 355.0°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD87A2
RGBrgb(205, 135, 162)
HSLhsl(337, 41%, 67%)
HSVhsv(337, 34%, 80%)
CMYKcmyk(0%, 34.1%, 21%, 19.6%)
CIE-LABlab(64.09, 30.59, -3.21)
CIE-LCHlch(64.09, 30.76, 354.00°)
OKLaboklab(70.24% 0.0916 -0.0081)
OKLCHoklch(70.24% 0.092 355)
XYZxyz(40.3630, 32.9181, 38.4033)
Luminance0.3292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD87A2 #87CDB2
analogous
#CD87C5 #CD87A2 #CD8F87
triadic
#CD87A2 #A2CD87 #87A2CD
tetradic
#CD87A2 #C5CD87 #87CDB2 #8F87CD
square
#CD87A2 #C5CD87 #87CDB2 #8F87CD
split-complementary
#CD87A2 #87CD8F #87C5CD
monochromatic
#9A4063 #BB5C81 #CD87A2 #DFB2C3 #F1DDE5

Accessibility & contrast

On white

2.77
#CD87A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CD87A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD87A2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD87A2#FFFFFF#000000##000000
##CD87A21.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F94A3
Deuteranopia (green-blind)
#A0A0A0
Tritanopia (blue-blind)
#D88490
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd87a2;
/* rgb */ color: rgb(205, 135, 162);
/* oklch */ color: oklch(70.2% 0.092 355.0);
Tailwind
colors: {
  custom: {
    50: '#ddabbd',
    500: '#cd87a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd87a2;
$custom-light: #ddabbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd87a2",
  "rgb": {
    "r": 205,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 336.857,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70235,
    "c": 0.09199,
    "h": 355
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#CD87A2
secondary
#CDE3DA
accent
#B48231
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CD87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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