#CC81BD#CC81BD

#CC81BD is a light, vivid pink. Relative luminance 0.322; OKLCH L 70.1% C 0.120 H 334.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CC81BD
RGBrgb(204, 129, 189)
HSLhsl(312, 42%, 65%)
HSVhsv(312, 37%, 80%)
CMYKcmyk(0%, 36.8%, 7.4%, 20%)
CIE-LABlab(63.52, 37.89, -19.37)
CIE-LCHlch(63.52, 42.56, 332.92°)
OKLaboklab(70.06% 0.1085 -0.0521)
OKLCHoklch(70.06% 0.12 334.4)
XYZxyz(41.9371, 32.2141, 52.1432)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC81BD #81CC90
analogous
#B581CC #CC81BD #CC8197
triadic
#CC81BD #BDCC81 #81BDCC
tetradic
#CC81BD #CCB581 #81CC90 #8197CC
square
#CC81BD #CCB581 #81CC90 #8197CC
split-complementary
#CC81BD #97CC81 #81CCB5
monochromatic
#963D84 #BA55A6 #CC81BD #DEADD4 #EFD8EB

Accessibility & contrast

On white

2.82
#CC81BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CC81BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC81BD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC81BD#FFFFFF#000000##000000
##CC81BD1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BF
Deuteranopia (green-blind)
#949EBB
Tritanopia (blue-blind)
#D38497
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc81bd;
/* rgb */ color: rgb(204, 129, 189);
/* oklch */ color: oklch(70.1% 0.120 334.4);
Tailwind
colors: {
  custom: {
    50: '#dda7d1',
    500: '#cc81bd',
    950: '#000000',
  },
}
SCSS
$custom: #cc81bd;
$custom-light: #dda7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc81bd",
  "rgb": {
    "r": 204,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 312,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70059,
    "c": 0.12038,
    "h": 334.4
  },
  "luminance": 0.32212
}

Semantic roles & 50–950 ramp

primary
#CC81BD
secondary
#C8E1CD
accent
#B54B30
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC81BD

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

Preview Lab → · Contrast checker → · Palette generator →

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