#CC5299#CC5299

#CC5299 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.172 H 347.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CC5299
RGBrgb(204, 82, 153)
HSLhsl(325, 54%, 56%)
HSVhsv(325, 60%, 80%)
CMYKcmyk(0%, 59.8%, 25%, 20%)
CIE-LABlab(53.14, 55.76, -14.38)
CIE-LCHlch(53.14, 57.59, 345.54°)
OKLaboklab(61.87% 0.1683 -0.0378)
OKLCHoklch(61.87% 0.172 347.3)
XYZxyz(33.6701, 21.1751, 32.4448)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5299 #52CC85
analogous
#C252CC #CC5299 #CC525C
triadic
#CC5299 #99CC52 #5299CC
tetradic
#CC5299 #CCC252 #52CC85 #525CCC
square
#CC5299 #CCC252 #52CC85 #525CCC
split-complementary
#CC5299 #5CCC52 #52CCC2
monochromatic
#7E2559 #AE337A #CC5299 #DA81B5 #E8B1D1

Accessibility & contrast

On white

4.01
#CC5299 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CC5299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5299
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5299#FFFFFF#000000##000000
##CC52991.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F729B
Deuteranopia (green-blind)
#828796
Tritanopia (blue-blind)
#D94F6F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5299;
/* rgb */ color: rgb(204, 82, 153);
/* oklch */ color: oklch(61.9% 0.172 347.3);
Tailwind
colors: {
  custom: {
    50: '#df89b7',
    500: '#cc5299',
    950: '#000000',
  },
}
SCSS
$custom: #cc5299;
$custom-light: #df89b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5299",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 325.082,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.17248,
    "h": 347.3
  },
  "luminance": 0.21172
}

Semantic roles & 50–950 ramp

primary
#CC5299
secondary
#A4D6B9
accent
#DE884A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5299

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

Preview Lab → · Contrast checker → · Palette generator →

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