#CC8AAD#CC8AAD

#CC8AAD is a light, moderate pink. Relative luminance 0.340; OKLCH L 71.0% C 0.092 H 346.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CC8AAD
RGBrgb(204, 138, 173)
HSLhsl(328, 39%, 67%)
HSVhsv(328, 32%, 80%)
CMYKcmyk(0%, 32.4%, 15.2%, 20%)
CIE-LABlab(64.99, 30.33, -8.12)
CIE-LCHlch(64.99, 31.40, 345.00°)
OKLaboklab(71% 0.0895 -0.0213)
OKLCHoklch(71% 0.092 346.6)
XYZxyz(41.5333, 34.0336, 43.9085)
Luminance0.3403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8AAD #8ACCA9
analogous
#CA8ACC #CC8AAD #CC8A8C
triadic
#CC8AAD #ADCC8A #8AADCC
tetradic
#CC8AAD #CCCA8A #8ACCA9 #8A8CCC
square
#CC8AAD #CCCA8A #8ACCA9 #8A8CCC
split-complementary
#CC8AAD #8CCC8A #8ACCCA
monochromatic
#994370 #B95F8F #CC8AAD #DFB5CB #F1DFE9

Accessibility & contrast

On white

2.69
#CC8AAD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#CC8AAD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8AAD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8AAD#FFFFFF#000000##000000
##CC8AAD1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F97AE
Deuteranopia (green-blind)
#9FA2AB
Tritanopia (blue-blind)
#D58996
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc8aad;
/* rgb */ color: rgb(204, 138, 173);
/* oklch */ color: oklch(71.0% 0.092 346.6);
Tailwind
colors: {
  custom: {
    50: '#dcadc5',
    500: '#cc8aad',
    950: '#000000',
  },
}
SCSS
$custom: #cc8aad;
$custom-light: #dcadc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8aad",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 173
  },
  "hsl": {
    "h": 328.182,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71002,
    "c": 0.09202,
    "h": 346.6
  },
  "luminance": 0.34031
}

Semantic roles & 50–950 ramp

primary
#CC8AAD
secondary
#CEE3D8
accent
#B26F33
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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