#CC8CB2#CC8CB2

#CC8CB2 is a light, moderate pink. Relative luminance 0.348; OKLCH L 71.5% C 0.092 H 343.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CC8CB2
RGBrgb(204, 140, 178)
HSLhsl(324, 39%, 67%)
HSVhsv(324, 31%, 80%)
CMYKcmyk(0%, 31.4%, 12.7%, 20%)
CIE-LABlab(65.60, 30.06, -10.03)
CIE-LCHlch(65.60, 31.69, 341.55°)
OKLaboklab(71.52% 0.0881 -0.0265)
OKLCHoklch(71.52% 0.092 343.3)
XYZxyz(42.3158, 34.8099, 46.6009)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CB2 #8CCCA6
analogous
#C68CCC #CC8CB2 #CC8C92
triadic
#CC8CB2 #B2CC8C #8CB2CC
tetradic
#CC8CB2 #CCC68C #8CCCA6 #8C92CC
square
#CC8CB2 #CCC68C #8CCCA6 #8C92CC
split-complementary
#CC8CB2 #92CC8C #8CCCC6
monochromatic
#9A4477 #B96296 #CC8CB2 #DFB6CE #F2E1EB

Accessibility & contrast

On white

2.64
#CC8CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CC8CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CB2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CB2#FFFFFF#000000##000000
##CC8CB21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9099B3
Deuteranopia (green-blind)
#9FA3B0
Tritanopia (blue-blind)
#D48C99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc8cb2;
/* rgb */ color: rgb(204, 140, 178);
/* oklch */ color: oklch(71.5% 0.092 343.3);
Tailwind
colors: {
  custom: {
    50: '#dcaec9',
    500: '#cc8cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8cb2;
$custom-light: #dcaec9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8cb2",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 324.375,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.09194,
    "h": 343.3
  },
  "luminance": 0.34808
}

Semantic roles & 50–950 ramp

primary
#CC8CB2
secondary
#D0E4D8
accent
#B26734
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CC8CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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