#CC6797#CC6797

#CC6797 is a light, vivid pink. Relative luminance 0.248; OKLCH L 64.6% C 0.139 H 351.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CC6797
RGBrgb(204, 103, 151)
HSLhsl(331, 50%, 60%)
HSVhsv(331, 50%, 80%)
CMYKcmyk(0%, 49.5%, 26%, 20%)
CIE-LABlab(56.86, 45.50, -7.63)
CIE-LCHlch(56.86, 46.14, 350.49°)
OKLaboklab(64.61% 0.1373 -0.0196)
OKLCHoklch(64.61% 0.139 351.9)
XYZxyz(35.3391, 24.7752, 32.1930)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6797 #67CC9C
analogous
#CC67CA #CC6797 #CC6967
triadic
#CC6797 #97CC67 #6797CC
tetradic
#CC6797 #CACC67 #67CC9C #6967CC
square
#CC6797 #CACC67 #67CC9C #6967CC
split-complementary
#CC6797 #67CC69 #67CACC
monochromatic
#8A2E5A #B83E78 #CC6797 #DB95B6 #EBC3D6

Accessibility & contrast

On white

3.53
#CC6797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CC6797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6797
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6797#FFFFFF#000000##000000
##CC67971.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D99
Deuteranopia (green-blind)
#8D8F95
Tritanopia (blue-blind)
#D96379
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc6797;
/* rgb */ color: rgb(204, 103, 151);
/* oklch */ color: oklch(64.6% 0.139 351.9);
Tailwind
colors: {
  custom: {
    50: '#de95b5',
    500: '#cc6797',
    950: '#000000',
  },
}
SCSS
$custom: #cc6797;
$custom-light: #de95b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6797",
  "rgb": {
    "r": 204,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 331.485,
    "s": 49.754,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64613,
    "c": 0.13865,
    "h": 351.9
  },
  "luminance": 0.24772
}

Semantic roles & 50–950 ramp

primary
#CC6797
secondary
#B4DBC8
accent
#BD7628
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150D11
muted
#837E80

Preview Lab

Preview with #CC6797

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

Preview Lab → · Contrast checker → · Palette generator →

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