#CC7AAC#CC7AAC

#CC7AAC is a light, moderate pink. Relative luminance 0.297; OKLCH L 68.3% C 0.119 H 343.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC7AAC
RGBrgb(204, 122, 172)
HSLhsl(323, 45%, 64%)
HSVhsv(323, 40%, 80%)
CMYKcmyk(0%, 40.2%, 15.7%, 20%)
CIE-LABlab(61.43, 38.78, -12.89)
CIE-LCHlch(61.43, 40.87, 341.62°)
OKLaboklab(68.28% 0.1144 -0.0341)
OKLCHoklch(68.28% 0.119 343.4)
XYZxyz(39.3081, 29.7374, 42.6912)
Luminance0.2974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7AAC #7ACC9A
analogous
#C37ACC #CC7AAC #CC7A83
triadic
#CC7AAC #ACCC7A #7AACCC
tetradic
#CC7AAC #CCC37A #7ACC9A #7A83CC
square
#CC7AAC #CCC37A #7ACC9A #7A83CC
split-complementary
#CC7AAC #83CC7A #7ACCC3
monochromatic
#933870 #BB4E90 #CC7AAC #DDA6C8 #EED2E3

Accessibility & contrast

On white

3.02
#CC7AAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CC7AAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC7AAC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7AAC#FFFFFF#000000##000000
##CC7AAC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8CAE
Deuteranopia (green-blind)
#9499AA
Tritanopia (blue-blind)
#D67A8C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc7aac;
/* rgb */ color: rgb(204, 122, 172);
/* oklch */ color: oklch(68.3% 0.119 343.4);
Tailwind
colors: {
  custom: {
    50: '#dda2c4',
    500: '#cc7aac',
    950: '#000000',
  },
}
SCSS
$custom: #cc7aac;
$custom-light: #dda2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7aac",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 172
  },
  "hsl": {
    "h": 323.415,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68283,
    "c": 0.11936,
    "h": 343.4
  },
  "luminance": 0.29735
}

Semantic roles & 50–950 ramp

primary
#CC7AAC
secondary
#C3DFCE
accent
#B8642E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CC7AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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