#CC87BF#CC87BF

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

Color values

HEX#CC87BF
RGBrgb(204, 135, 191)
HSLhsl(311, 40%, 66%)
HSVhsv(311, 34%, 80%)
CMYKcmyk(0%, 33.8%, 6.4%, 20%)
CIE-LABlab(64.91, 35.01, -18.39)
CIE-LCHlch(64.91, 39.55, 332.29°)
OKLaboklab(71.13% 0.0999 -0.0494)
OKLCHoklch(71.13% 0.111 333.7)
XYZxyz(42.9694, 33.9288, 53.5657)
Luminance0.3393 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC87BF #87CC94
analogous
#B787CC #CC87BF #CC879D
triadic
#CC87BF #BFCC87 #87BFCC
tetradic
#CC87BF #CCB787 #87CC94 #879DCC
square
#CC87BF #CCB787 #87CC94 #879DCC
split-complementary
#CC87BF #9DCC87 #87CCB7
monochromatic
#984188 #BA5CA8 #CC87BF #DEB2D6 #F1DDED

Accessibility & contrast

On white

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

On black

7.79
#CC87BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC87BF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC87BF#FFFFFF#000000##000000
##CC87BF1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8697C1
Deuteranopia (green-blind)
#97A1BD
Tritanopia (blue-blind)
#D28A9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc87bf;
/* rgb */ color: rgb(204, 135, 191);
/* oklch */ color: oklch(71.1% 0.111 333.7);
Tailwind
colors: {
  custom: {
    50: '#dcabd2',
    500: '#cc87bf',
    950: '#000000',
  },
}
SCSS
$custom: #cc87bf;
$custom-light: #dcabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc87bf",
  "rgb": {
    "r": 204,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 311.304,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71133,
    "c": 0.11144,
    "h": 333.7
  },
  "luminance": 0.33927
}

Semantic roles & 50–950 ramp

primary
#CC87BF
secondary
#CCE3D0
accent
#B34A32
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CC87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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