#CC8DB2#CC8DB2

#CC8DB2 is a light, moderate pink. Relative luminance 0.351; OKLCH L 71.7% C 0.090 H 343.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CC8DB2
RGBrgb(204, 141, 178)
HSLhsl(325, 38%, 68%)
HSVhsv(325, 31%, 80%)
CMYKcmyk(0%, 30.9%, 12.7%, 20%)
CIE-LABlab(65.83, 29.52, -9.69)
CIE-LCHlch(65.83, 31.07, 341.83°)
OKLaboklab(71.69% 0.0865 -0.0255)
OKLCHoklch(71.69% 0.09 343.5)
XYZxyz(42.4626, 35.1035, 46.6498)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8DB2 #8DCCA7
analogous
#C78DCC #CC8DB2 #CC8D92
triadic
#CC8DB2 #B2CC8D #8DB2CC
tetradic
#CC8DB2 #CCC78D #8DCCA7 #8D92CC
square
#CC8DB2 #CCC78D #8DCCA7 #8D92CC
split-complementary
#CC8DB2 #92CC8D #8DCCC7
monochromatic
#9A4577 #B96395 #CC8DB2 #DFB7CF #F2E2EB

Accessibility & contrast

On white

2.62
#CC8DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CC8DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8DB2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8DB2#FFFFFF#000000##000000
##CC8DB21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#919AB3
Deuteranopia (green-blind)
#A0A4B0
Tritanopia (blue-blind)
#D48D9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc8db2;
/* rgb */ color: rgb(204, 141, 178);
/* oklch */ color: oklch(71.7% 0.090 343.5);
Tailwind
colors: {
  custom: {
    50: '#dcafc9',
    500: '#cc8db2',
    950: '#000000',
  },
}
SCSS
$custom: #cc8db2;
$custom-light: #dcafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8db2",
  "rgb": {
    "r": 204,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 324.762,
    "s": 38.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.09016,
    "h": 343.5
  },
  "luminance": 0.35101
}

Semantic roles & 50–950 ramp

primary
#CC8DB2
secondary
#D1E4D9
accent
#B16834
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CC8DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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