#CC87BE#CC87BE

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

Color values

HEX#CC87BE
RGBrgb(204, 135, 190)
HSLhsl(312, 40%, 66%)
HSVhsv(312, 34%, 80%)
CMYKcmyk(0%, 33.8%, 6.9%, 20%)
CIE-LABlab(64.87, 34.84, -17.88)
CIE-LCHlch(64.87, 39.16, 332.83°)
OKLaboklab(71.1% 0.0996 -0.048)
OKLCHoklch(71.1% 0.111 334.3)
XYZxyz(42.8597, 33.8850, 52.9881)
Luminance0.3388 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC87BE #87CC95
analogous
#B887CC #CC87BE #CC879C
triadic
#CC87BE #BECC87 #87BECC
tetradic
#CC87BE #CCB887 #87CC95 #879CCC
square
#CC87BE #CCB887 #87CC95 #879CCC
split-complementary
#CC87BE #9CCC87 #87CCB8
monochromatic
#984186 #BA5CA7 #CC87BE #DEB2D5 #F1DDED

Accessibility & contrast

On white

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

On black

7.78
#CC87BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC87BE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC87BE#FFFFFF#000000##000000
##CC87BE1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797C0
Deuteranopia (green-blind)
#98A1BC
Tritanopia (blue-blind)
#D28A9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc87be;
/* rgb */ color: rgb(204, 135, 190);
/* oklch */ color: oklch(71.1% 0.111 334.3);
Tailwind
colors: {
  custom: {
    50: '#dcabd1',
    500: '#cc87be',
    950: '#000000',
  },
}
SCSS
$custom: #cc87be;
$custom-light: #dcabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc87be",
  "rgb": {
    "r": 204,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 312.174,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71095,
    "c": 0.11055,
    "h": 334.3
  },
  "luminance": 0.33883
}

Semantic roles & 50–950 ramp

primary
#CC87BE
secondary
#CCE3D1
accent
#B34C32
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CC87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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