#CC5099#CC5099

#CC5099 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.175 H 347.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CC5099
RGBrgb(204, 80, 153)
HSLhsl(325, 55%, 56%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 60.8%, 25%, 20%)
CIE-LABlab(52.82, 56.64, -14.87)
CIE-LCHlch(52.82, 58.56, 345.29°)
OKLaboklab(61.63% 0.171 -0.0392)
OKLCHoklch(61.63% 0.175 347.1)
XYZxyz(33.5215, 20.8778, 32.3952)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5099 #50CC83
analogous
#C150CC #CC5099 #CC505B
triadic
#CC5099 #99CC50 #5099CC
tetradic
#CC5099 #CCC150 #50CC83 #505BCC
square
#CC5099 #CCC150 #50CC83 #505BCC
split-complementary
#CC5099 #5BCC50 #50CCC1
monochromatic
#7D2459 #AD327A #CC5099 #DA7FB5 #E8AFD0

Accessibility & contrast

On white

4.06
#CC5099 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CC5099 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5099
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5099#FFFFFF#000000##000000
##CC50991.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5099;
/* rgb */ color: rgb(204, 80, 153);
/* oklch */ color: oklch(61.6% 0.175 347.1);
Tailwind
colors: {
  custom: {
    50: '#df88b7',
    500: '#cc5099',
    950: '#000000',
  },
}
SCSS
$custom: #cc5099;
$custom-light: #df88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5099",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 153
  },
  "hsl": {
    "h": 324.677,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.1754,
    "h": 347.1
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5099

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

Preview Lab → · Contrast checker → · Palette generator →

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