#CC97BA#CC97BA

#CC97BA is a light, moderate pink. Relative luminance 0.385; OKLCH L 73.7% C 0.078 H 339.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CC97BA
RGBrgb(204, 151, 186)
HSLhsl(320, 34%, 70%)
HSVhsv(320, 26%, 80%)
CMYKcmyk(0%, 26%, 8.8%, 20%)
CIE-LABlab(68.40, 25.41, -10.33)
CIE-LCHlch(68.40, 27.43, 337.88°)
OKLaboklab(73.75% 0.0735 -0.0274)
OKLCHoklch(73.75% 0.078 339.6)
XYZxyz(44.8310, 38.5175, 51.5180)
Luminance0.3852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC97BA #97CCA9
analogous
#C497CC #CC97BA #CC97A0
triadic
#CC97BA #BACC97 #97BACC
tetradic
#CC97BA #CCC497 #97CCA9 #97A0CC
square
#CC97BA #CCC497 #97CCA9 #97A0CC
split-complementary
#CC97BA #A0CC97 #97CCC4
monochromatic
#9C4D81 #B86E9F #CC97BA #E0C0D5 #F4E9F0

Accessibility & contrast

On white

2.41
#CC97BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CC97BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC97BA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC97BA#FFFFFF#000000##000000
##CC97BA1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A2BB
Deuteranopia (green-blind)
#A5AAB8
Tritanopia (blue-blind)
#D298A3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc97ba;
/* rgb */ color: rgb(204, 151, 186);
/* oklch */ color: oklch(73.7% 0.078 339.6);
Tailwind
colors: {
  custom: {
    50: '#dcb6ce',
    500: '#cc97ba',
    950: '#000000',
  },
}
SCSS
$custom: #cc97ba;
$custom-light: #dcb6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc97ba",
  "rgb": {
    "r": 204,
    "g": 151,
    "b": 186
  },
  "hsl": {
    "h": 320.377,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73746,
    "c": 0.0784,
    "h": 339.6
  },
  "luminance": 0.38516
}

Semantic roles & 50–950 ramp

primary
#CC97BA
secondary
#D8E7DD
accent
#AD6038
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151113
muted
#838082

Preview Lab

Preview with #CC97BA

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

Preview Lab → · Contrast checker → · Palette generator →

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