#CC8CAA#CC8CAA

#CC8CAA is a light, moderate pink. Relative luminance 0.345; OKLCH L 71.3% C 0.087 H 349.9°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CC8CAA
RGBrgb(204, 140, 170)
HSLhsl(332, 39%, 67%)
HSVhsv(332, 31%, 80%)
CMYKcmyk(0%, 31.4%, 16.7%, 20%)
CIE-LABlab(65.36, 28.76, -5.89)
CIE-LCHlch(65.36, 29.35, 348.43°)
OKLaboklab(71.25% 0.0853 -0.0153)
OKLCHoklch(71.25% 0.087 349.9)
XYZxyz(41.5359, 34.4980, 42.4934)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CAA #8CCCAE
analogous
#CC8CCA #CC8CAA #CC8E8C
triadic
#CC8CAA #AACC8C #8CAACC
tetradic
#CC8CAA #CACC8C #8CCCAE #8E8CCC
square
#CC8CAA #CACC8C #8CCCAE #8E8CCC
split-complementary
#CC8CAA #8CCC8E #8CCACC
monochromatic
#9A446C #B9628B #CC8CAA #DFB6C9 #F2E1E9

Accessibility & contrast

On white

2.66
#CC8CAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CC8CAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CAA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CAA#FFFFFF#000000##000000
##CC8CAA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9298AB
Deuteranopia (green-blind)
#A1A3A8
Tritanopia (blue-blind)
#D58A96
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc8caa;
/* rgb */ color: rgb(204, 140, 170);
/* oklch */ color: oklch(71.3% 0.087 349.9);
Tailwind
colors: {
  custom: {
    50: '#dcaec3',
    500: '#cc8caa',
    950: '#000000',
  },
}
SCSS
$custom: #cc8caa;
$custom-light: #dcaec3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8caa",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 331.875,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71252,
    "c": 0.08667,
    "h": 349.9
  },
  "luminance": 0.34496
}

Semantic roles & 50–950 ramp

primary
#CC8CAA
secondary
#D0E4DB
accent
#B27734
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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