#CC87AA#CC87AA

#CC87AA is a light, moderate pink. Relative luminance 0.331; OKLCH L 70.4% C 0.095 H 348.0°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CC87AA
RGBrgb(204, 135, 170)
HSLhsl(330, 40%, 66%)
HSVhsv(330, 34%, 80%)
CMYKcmyk(0%, 33.8%, 16.7%, 20%)
CIE-LABlab(64.22, 31.48, -7.58)
CIE-LCHlch(64.22, 32.38, 346.47°)
OKLaboklab(70.38% 0.0933 -0.0198)
OKLCHoklch(70.38% 0.095 348)
XYZxyz(40.8218, 33.0698, 42.2553)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC87AA #87CCA9
analogous
#CC87CC #CC87AA #CC8788
triadic
#CC87AA #AACC87 #87AACC
tetradic
#CC87AA #CCCC87 #87CCA9 #8788CC
square
#CC87AA #CCCC87 #87CCA9 #8788CC
split-complementary
#CC87AA #88CC87 #87CCCC
monochromatic
#98416D #BA5C8C #CC87AA #DEB2C8 #F1DDE7

Accessibility & contrast

On white

2.76
#CC87AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CC87AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC87AA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC87AA#FFFFFF#000000##000000
##CC87AA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D95AB
Deuteranopia (green-blind)
#9DA0A8
Tritanopia (blue-blind)
#D58693
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc87aa;
/* rgb */ color: rgb(204, 135, 170);
/* oklch */ color: oklch(70.4% 0.095 348.0);
Tailwind
colors: {
  custom: {
    50: '#dcabc3',
    500: '#cc87aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc87aa;
$custom-light: #dcabc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc87aa",
  "rgb": {
    "r": 204,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 329.565,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70382,
    "c": 0.09534,
    "h": 348
  },
  "luminance": 0.33068
}

Semantic roles & 50–950 ramp

primary
#CC87AA
secondary
#CCE3D7
accent
#B37232
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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