#CC5199#CC5199

#CC5199 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.174 H 347.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC5199
RGBrgb(204, 81, 153)
HSLhsl(325, 55%, 56%)
HSVhsv(325, 60%, 80%)
CMYKcmyk(0%, 60.3%, 25%, 20%)
CIE-LABlab(52.98, 56.21, -14.62)
CIE-LCHlch(52.98, 58.08, 345.42°)
OKLaboklab(61.75% 0.1696 -0.0385)
OKLCHoklch(61.75% 0.174 347.2)
XYZxyz(33.5953, 21.0253, 32.4198)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5199 #51CC84
analogous
#C151CC #CC5199 #CC515B
triadic
#CC5199 #99CC51 #5199CC
tetradic
#CC5199 #CCC151 #51CC84 #515BCC
square
#CC5199 #CCC151 #51CC84 #515BCC
split-complementary
#CC5199 #5BCC51 #51CCC1
monochromatic
#7E2559 #AD337A #CC5199 #DA80B5 #E8B0D0

Accessibility & contrast

On white

4.04
#CC5199 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC5199 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5199
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5199#FFFFFF#000000##000000
##CC51991.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F719B
Deuteranopia (green-blind)
#818696
Tritanopia (blue-blind)
#D94E6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5199;
/* rgb */ color: rgb(204, 81, 153);
/* oklch */ color: oklch(61.7% 0.174 347.2);
Tailwind
colors: {
  custom: {
    50: '#df88b7',
    500: '#cc5199',
    950: '#000000',
  },
}
SCSS
$custom: #cc5199;
$custom-light: #df88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5199",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 324.878,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.17395,
    "h": 347.2
  },
  "luminance": 0.21022
}

Semantic roles & 50–950 ramp

primary
#CC5199
secondary
#A3D6B8
accent
#DE874A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5199

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

Preview Lab → · Contrast checker → · Palette generator →

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