#CC8AAF#CC8AAF

#CC8AAF is a light, moderate pink. Relative luminance 0.341; OKLCH L 71.1% C 0.093 H 345.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CC8AAF
RGBrgb(204, 138, 175)
HSLhsl(326, 39%, 67%)
HSVhsv(326, 32%, 80%)
CMYKcmyk(0%, 32.4%, 14.2%, 20%)
CIE-LABlab(65.05, 30.66, -9.16)
CIE-LCHlch(65.05, 32.00, 343.36°)
OKLaboklab(71.07% 0.0902 -0.0241)
OKLCHoklch(71.07% 0.093 345.1)
XYZxyz(41.7283, 34.1116, 44.9354)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8AAF #8ACCA7
analogous
#C88ACC #CC8AAF #CC8A8E
triadic
#CC8AAF #AFCC8A #8AAFCC
tetradic
#CC8AAF #CCC88A #8ACCA7 #8A8ECC
square
#CC8AAF #CCC88A #8ACCA7 #8A8ECC
split-complementary
#CC8AAF #8ECC8A #8ACCC8
monochromatic
#994373 #B95F92 #CC8AAF #DFB5CC #F1DFE9

Accessibility & contrast

On white

2.68
#CC8AAF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CC8AAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8AAF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8AAF#FFFFFF#000000##000000
##CC8AAF1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E97B0
Deuteranopia (green-blind)
#9EA2AD
Tritanopia (blue-blind)
#D58A97
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc8aaf;
/* rgb */ color: rgb(204, 138, 175);
/* oklch */ color: oklch(71.1% 0.093 345.1);
Tailwind
colors: {
  custom: {
    50: '#dcadc6',
    500: '#cc8aaf',
    950: '#000000',
  },
}
SCSS
$custom: #cc8aaf;
$custom-light: #dcadc6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8aaf",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 326.364,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71069,
    "c": 0.09336,
    "h": 345.1
  },
  "luminance": 0.34109
}

Semantic roles & 50–950 ramp

primary
#CC8AAF
secondary
#CEE3D8
accent
#B26B33
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#151013
muted
#837F82

Preview Lab

Preview with #CC8AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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