#CC5197#CC5197

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

Color values

HEX#CC5197
RGBrgb(204, 81, 151)
HSLhsl(326, 55%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 60.3%, 26%, 20%)
CIE-LABlab(52.91, 55.94, -13.55)
CIE-LCHlch(52.91, 57.56, 346.38°)
OKLaboklab(61.67% 0.1691 -0.0356)
OKLCHoklch(61.67% 0.173 348.1)
XYZxyz(33.4315, 20.9598, 31.5571)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5197 #51CC86
analogous
#C451CC #CC5197 #CC5159
triadic
#CC5197 #97CC51 #5197CC
tetradic
#CC5197 #CCC451 #51CC86 #5159CC
square
#CC5197 #CCC451 #51CC86 #5159CC
split-complementary
#CC5197 #59CC51 #51CCC4
monochromatic
#7E2557 #AD3378 #CC5197 #DA80B3 #E8B0D0

Accessibility & contrast

On white

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

On black

5.19
#CC5197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5197
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5197#FFFFFF#000000##000000
##CC51971.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#828694
Tritanopia (blue-blind)
#D94D6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5197;
/* rgb */ color: rgb(204, 81, 151);
/* oklch */ color: oklch(61.7% 0.173 348.1);
Tailwind
colors: {
  custom: {
    50: '#df88b5',
    500: '#cc5197',
    950: '#000000',
  },
}
SCSS
$custom: #cc5197;
$custom-light: #df88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5197",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 325.854,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61669,
    "c": 0.1728,
    "h": 348.1
  },
  "luminance": 0.20957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5197

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

Preview Lab → · Contrast checker → · Palette generator →

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