#CC5397#CC5397

#CC5397 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.9% C 0.170 H 348.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CC5397
RGBrgb(204, 83, 151)
HSLhsl(326, 54%, 56%)
HSVhsv(326, 59%, 80%)
CMYKcmyk(0%, 59.3%, 26%, 20%)
CIE-LABlab(53.23, 55.05, -13.06)
CIE-LCHlch(53.23, 56.58, 346.66°)
OKLaboklab(61.91% 0.1664 -0.0342)
OKLCHoklch(61.91% 0.17 348.4)
XYZxyz(33.5823, 21.2615, 31.6074)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5397 #53CC88
analogous
#C553CC #CC5397 #CC535B
triadic
#CC5397 #97CC53 #5397CC
tetradic
#CC5397 #CCC553 #53CC88 #535BCC
square
#CC5397 #CCC553 #53CC88 #535BCC
split-complementary
#CC5397 #5BCC53 #53CCC5
monochromatic
#7F2658 #AE3478 #CC5397 #DA82B4 #E8B1D0

Accessibility & contrast

On white

4.00
#CC5397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CC5397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5397
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5397#FFFFFF#000000##000000
##CC53971.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617299
Deuteranopia (green-blind)
#838794
Tritanopia (blue-blind)
#D94F6E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5397;
/* rgb */ color: rgb(204, 83, 151);
/* oklch */ color: oklch(61.9% 0.170 348.4);
Tailwind
colors: {
  custom: {
    50: '#df89b5',
    500: '#cc5397',
    950: '#000000',
  },
}
SCSS
$custom: #cc5397;
$custom-light: #df89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5397",
  "rgb": {
    "r": 204,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 326.281,
    "s": 54.26,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61912,
    "c": 0.16986,
    "h": 348.4
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#CC5397
secondary
#A4D6BA
accent
#DE8B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5397

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

Preview Lab → · Contrast checker → · Palette generator →

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