#CC81BF#CC81BF

#CC81BF is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.1% C 0.122 H 333.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CC81BF
RGBrgb(204, 129, 191)
HSLhsl(310, 42%, 65%)
HSVhsv(310, 37%, 80%)
CMYKcmyk(0%, 36.8%, 6.4%, 20%)
CIE-LABlab(63.59, 38.24, -20.39)
CIE-LCHlch(63.59, 43.34, 331.93°)
OKLaboklab(70.14% 0.1091 -0.0549)
OKLCHoklch(70.14% 0.122 333.3)
XYZxyz(42.1557, 32.3015, 53.2944)
Luminance0.3230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC81BF #81CC8E
analogous
#B381CC #CC81BF #CC8199
triadic
#CC81BF #BFCC81 #81BFCC
tetradic
#CC81BF #CCB381 #81CC8E #8199CC
square
#CC81BF #CCB381 #81CC8E #8199CC
split-complementary
#CC81BF #99CC81 #81CCB3
monochromatic
#963D86 #BA55A9 #CC81BF #DEADD5 #EFD8EB

Accessibility & contrast

On white

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

On black

7.46
#CC81BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC81BF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC81BF#FFFFFF#000000##000000
##CC81BF1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C1
Deuteranopia (green-blind)
#939EBD
Tritanopia (blue-blind)
#D38598
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc81bf;
/* rgb */ color: rgb(204, 129, 191);
/* oklch */ color: oklch(70.1% 0.122 333.3);
Tailwind
colors: {
  custom: {
    50: '#dda7d2',
    500: '#cc81bf',
    950: '#000000',
  },
}
SCSS
$custom: #cc81bf;
$custom-light: #dda7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc81bf",
  "rgb": {
    "r": 204,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 310.4,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70137,
    "c": 0.12214,
    "h": 333.3
  },
  "luminance": 0.32299
}

Semantic roles & 50–950 ramp

primary
#CC81BF
secondary
#C8E1CC
accent
#B54730
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CC81BF

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

Preview Lab → · Contrast checker → · Palette generator →

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