#CC6397#CC6397

#CC6397 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.0% C 0.145 H 351.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CC6397
RGBrgb(204, 99, 151)
HSLhsl(330, 51%, 59%)
HSVhsv(330, 51%, 80%)
CMYKcmyk(0%, 51.5%, 26%, 20%)
CIE-LABlab(56.09, 47.50, -8.77)
CIE-LCHlch(56.09, 48.30, 349.53°)
OKLaboklab(64.04% 0.1433 -0.0227)
OKLCHoklch(64.04% 0.145 351)
XYZxyz(34.9508, 23.9984, 32.0636)
Luminance0.2399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6397 #63CC98
analogous
#CC63CC #CC6397 #CC6463
triadic
#CC6397 #97CC63 #6397CC
tetradic
#CC6397 #CCCC63 #63CC98 #6463CC
square
#CC6397 #CCCC63 #63CC98 #6463CC
split-complementary
#CC6397 #63CC64 #63CCCC
monochromatic
#882C5A #B63C78 #CC6397 #DB91B6 #EABFD4

Accessibility & contrast

On white

3.62
#CC6397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CC6397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6397
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6397#FFFFFF#000000##000000
##CC63971.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B99
Deuteranopia (green-blind)
#8B8D94
Tritanopia (blue-blind)
#D95F77
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc6397;
/* rgb */ color: rgb(204, 99, 151);
/* oklch */ color: oklch(64.0% 0.145 351.0);
Tailwind
colors: {
  custom: {
    50: '#de93b5',
    500: '#cc6397',
    950: '#000000',
  },
}
SCSS
$custom: #cc6397;
$custom-light: #de93b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6397",
  "rgb": {
    "r": 204,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 330.286,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64036,
    "c": 0.1451,
    "h": 351
  },
  "luminance": 0.23995
}

Semantic roles & 50–950 ramp

primary
#CC6397
secondary
#B1DAC6
accent
#DA954E
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150D11
muted
#837E80

Preview Lab

Preview with #CC6397

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

Preview Lab → · Contrast checker → · Palette generator →

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