#CC5296#CC5296

#CC5296 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.171 H 348.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CC5296
RGBrgb(204, 82, 150)
HSLhsl(327, 54%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 59.8%, 26.5%, 20%)
CIE-LABlab(53.03, 55.37, -12.77)
CIE-LCHlch(53.03, 56.82, 347.01°)
OKLaboklab(61.75% 0.1675 -0.0334)
OKLCHoklch(61.75% 0.171 348.7)
XYZxyz(33.4255, 21.0772, 31.1562)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5296 #52CC88
analogous
#C552CC #CC5296 #CC5259
triadic
#CC5296 #96CC52 #5296CC
tetradic
#CC5296 #CCC552 #52CC88 #5259CC
square
#CC5296 #CCC552 #52CC88 #5259CC
split-complementary
#CC5296 #59CC52 #52CCC5
monochromatic
#7E2557 #AE3377 #CC5296 #DA81B3 #E8B1CF

Accessibility & contrast

On white

4.03
#CC5296 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CC5296 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5296
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5296#FFFFFF#000000##000000
##CC52961.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617198
Deuteranopia (green-blind)
#828693
Tritanopia (blue-blind)
#D94E6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5296;
/* rgb */ color: rgb(204, 82, 150);
/* oklch */ color: oklch(61.8% 0.171 348.7);
Tailwind
colors: {
  custom: {
    50: '#df89b5',
    500: '#cc5296',
    950: '#000000',
  },
}
SCSS
$custom: #cc5296;
$custom-light: #df89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5296",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 326.557,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61752,
    "c": 0.17078,
    "h": 348.7
  },
  "luminance": 0.21074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5296

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

Preview Lab → · Contrast checker → · Palette generator →

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