#CC8AAA#CC8AAA

#CC8AAA is a light, moderate pink. Relative luminance 0.339; OKLCH L 70.9% C 0.090 H 349.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CC8AAA
RGBrgb(204, 138, 170)
HSLhsl(331, 39%, 67%)
HSVhsv(331, 32%, 80%)
CMYKcmyk(0%, 32.4%, 16.7%, 20%)
CIE-LABlab(64.90, 29.85, -6.57)
CIE-LCHlch(64.90, 30.56, 347.59°)
OKLaboklab(70.9% 0.0885 -0.0171)
OKLCHoklch(70.9% 0.09 349.1)
XYZxyz(41.2463, 33.9188, 42.3968)
Luminance0.3392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8AAA #8ACCAC
analogous
#CC8ACB #CC8AAA #CC8B8A
triadic
#CC8AAA #AACC8A #8AAACC
tetradic
#CC8AAA #CBCC8A #8ACCAC #8B8ACC
square
#CC8AAA #CBCC8A #8ACCAC #8B8ACC
split-complementary
#CC8AAA #8ACC8B #8ACBCC
monochromatic
#99436C #B95F8B #CC8AAA #DFB5C9 #F1DFE8

Accessibility & contrast

On white

2.70
#CC8AAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#CC8AAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8AAA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8AAA#FFFFFF#000000##000000
##CC8AAA1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9097AB
Deuteranopia (green-blind)
#9FA2A8
Tritanopia (blue-blind)
#D58995
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc8aaa;
/* rgb */ color: rgb(204, 138, 170);
/* oklch */ color: oklch(70.9% 0.090 349.1);
Tailwind
colors: {
  custom: {
    50: '#dcadc3',
    500: '#cc8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cc8aaa;
$custom-light: #dcadc3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8aaa",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 330.909,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70902,
    "c": 0.09013,
    "h": 349.1
  },
  "luminance": 0.33917
}

Semantic roles & 50–950 ramp

primary
#CC8AAA
secondary
#CEE3D9
accent
#B27533
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CC8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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