#CC5196#CC5196

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

Color values

HEX#CC5196
RGBrgb(204, 81, 150)
HSLhsl(326, 55%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 60.3%, 26.5%, 20%)
CIE-LABlab(52.87, 55.81, -13.02)
CIE-LCHlch(52.87, 57.31, 346.87°)
OKLaboklab(61.63% 0.1688 -0.0341)
OKLCHoklch(61.63% 0.172 348.6)
XYZxyz(33.3506, 20.9275, 31.1312)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5196 #51CC87
analogous
#C451CC #CC5196 #CC5158
triadic
#CC5196 #96CC51 #5196CC
tetradic
#CC5196 #CCC451 #51CC87 #5158CC
square
#CC5196 #CCC451 #51CC87 #5158CC
split-complementary
#CC5196 #58CC51 #51CCC4
monochromatic
#7E2557 #AD3377 #CC5196 #DA80B3 #E8B0CF

Accessibility & contrast

On white

4.05
#CC5196 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CC5196 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5196
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5196#FFFFFF#000000##000000
##CC51961.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607198
Deuteranopia (green-blind)
#828693
Tritanopia (blue-blind)
#D94D6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5196;
/* rgb */ color: rgb(204, 81, 150);
/* oklch */ color: oklch(61.6% 0.172 348.6);
Tailwind
colors: {
  custom: {
    50: '#df88b5',
    500: '#cc5196',
    950: '#000000',
  },
}
SCSS
$custom: #cc5196;
$custom-light: #df88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5196",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 326.341,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61631,
    "c": 0.17225,
    "h": 348.6
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5196

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

Preview Lab → · Contrast checker → · Palette generator →

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