#CC8BAC#CC8BAC

#CC8BAC is a light, moderate pink. Relative luminance 0.343; OKLCH L 71.1% C 0.090 H 347.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CC8BAC
RGBrgb(204, 139, 172)
HSLhsl(330, 39%, 67%)
HSVhsv(330, 32%, 80%)
CMYKcmyk(0%, 31.9%, 15.7%, 20%)
CIE-LABlab(65.19, 29.62, -7.27)
CIE-LCHlch(65.19, 30.50, 346.22°)
OKLaboklab(71.14% 0.0876 -0.019)
OKLCHoklch(71.14% 0.09 347.8)
XYZxyz(41.5811, 34.2833, 43.4489)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BAC #8BCCAB
analogous
#CB8BCC #CC8BAC #CC8B8C
triadic
#CC8BAC #ACCC8B #8BACCC
tetradic
#CC8BAC #CCCB8B #8BCCAB #8B8CCC
square
#CC8BAC #CCCB8B #8BCCAB #8B8CCC
split-complementary
#CC8BAC #8CCC8B #8BCCCB
monochromatic
#99436F #B9608E #CC8BAC #DFB6CA #F1E0E9

Accessibility & contrast

On white

2.67
#CC8BAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CC8BAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BAC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BAC#FFFFFF#000000##000000
##CC8BAC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9098AD
Deuteranopia (green-blind)
#A0A2AA
Tritanopia (blue-blind)
#D58A96
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc8bac;
/* rgb */ color: rgb(204, 139, 172);
/* oklch */ color: oklch(71.1% 0.090 347.8);
Tailwind
colors: {
  custom: {
    50: '#dcadc4',
    500: '#cc8bac',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bac;
$custom-light: #dcadc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bac",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 172
  },
  "hsl": {
    "h": 329.538,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71142,
    "c": 0.08963,
    "h": 347.8
  },
  "luminance": 0.34281
}

Semantic roles & 50–950 ramp

primary
#CC8BAC
secondary
#CFE4D9
accent
#B27234
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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