#CC97BE#CC97BE

#CC97BE is a light, moderate pink. Relative luminance 0.387; OKLCH L 73.9% C 0.082 H 336.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#CC97BE
RGBrgb(204, 151, 190)
HSLhsl(316, 34%, 70%)
HSVhsv(316, 26%, 80%)
CMYKcmyk(0%, 26%, 6.9%, 20%)
CIE-LABlab(68.53, 26.12, -12.37)
CIE-LCHlch(68.53, 28.90, 334.66°)
OKLaboklab(73.88% 0.0748 -0.0329)
OKLCHoklch(73.88% 0.082 336.2)
XYZxyz(45.2622, 38.6899, 53.7889)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC97BE #97CCA5
analogous
#C097CC #CC97BE #CC97A4
triadic
#CC97BE #BECC97 #97BECC
tetradic
#CC97BE #CCC097 #97CCA5 #97A4CC
square
#CC97BE #CCC097 #97CCA5 #97A4CC
split-complementary
#CC97BE #A4CC97 #97CCC0
monochromatic
#9C4D87 #B86EA4 #CC97BE #E0C0D8 #F4E9F1

Accessibility & contrast

On white

2.40
#CC97BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#CC97BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC97BE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC97BE#FFFFFF#000000##000000
##CC97BE1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A2C0
Deuteranopia (green-blind)
#A4AABC
Tritanopia (blue-blind)
#D299A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc97be;
/* rgb */ color: rgb(204, 151, 190);
/* oklch */ color: oklch(73.9% 0.082 336.2);
Tailwind
colors: {
  custom: {
    50: '#dcb6d1',
    500: '#cc97be',
    950: '#000000',
  },
}
SCSS
$custom: #cc97be;
$custom-light: #dcb6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc97be",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 190
  },
  "hsl": {
    "h": 315.849,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73884,
    "c": 0.08174,
    "h": 336.2
  },
  "luminance": 0.38688
}

Semantic roles & 50–950 ramp

primary
#CC97BE
secondary
#D8E7DC
accent
#AD5738
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CC97BE

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

Preview Lab → · Contrast checker → · Palette generator →

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