#CC97AC#CC97AC

#CC97AC is a light, moderate pink. Relative luminance 0.379; OKLCH L 73.3% C 0.069 H 353.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CC97AC
RGBrgb(204, 151, 172)
HSLhsl(336, 34%, 70%)
HSVhsv(336, 26%, 80%)
CMYKcmyk(0%, 26%, 15.7%, 20%)
CIE-LABlab(67.98, 23.07, -3.13)
CIE-LCHlch(67.98, 23.28, 352.27°)
OKLaboklab(73.29% 0.0686 -0.008)
OKLCHoklch(73.29% 0.069 353.4)
XYZxyz(43.4149, 37.9510, 44.0601)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC97AC #97CCB7
analogous
#CC97C7 #CC97AC #CC9C97
triadic
#CC97AC #ACCC97 #97ACCC
tetradic
#CC97AC #C7CC97 #97CCB7 #9C97CC
square
#CC97AC #C7CC97 #97CCB7 #9C97CC
split-complementary
#CC97AC #97CC9C #97C7CC
monochromatic
#9C4D6C #B86E8B #CC97AC #E0C0CD #F4E9EE

Accessibility & contrast

On white

2.44
#CC97AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#CC97AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC97AC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC97AC#FFFFFF#000000##000000
##CC97AC1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA0AD
Deuteranopia (green-blind)
#A8A9AB
Tritanopia (blue-blind)
#D4959E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc97ac;
/* rgb */ color: rgb(204, 151, 172);
/* oklch */ color: oklch(73.3% 0.069 353.4);
Tailwind
colors: {
  custom: {
    50: '#dcb6c4',
    500: '#cc97ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc97ac;
$custom-light: #dcb6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc97ac",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 172
  },
  "hsl": {
    "h": 336.226,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73289,
    "c": 0.06902,
    "h": 353.4
  },
  "luminance": 0.37949
}

Semantic roles & 50–950 ramp

primary
#CC97AC
secondary
#D8E7E1
accent
#AD7F38
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151112
muted
#838081

Preview Lab

Preview with #CC97AC

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

Preview Lab → · Contrast checker → · Palette generator →

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