#CC5195#CC5195

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

Color values

HEX#CC5195
RGBrgb(204, 81, 149)
HSLhsl(327, 55%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 60.3%, 27%, 20%)
CIE-LABlab(52.83, 55.68, -12.48)
CIE-LCHlch(52.83, 57.06, 347.37°)
OKLaboklab(61.59% 0.1686 -0.0326)
OKLCHoklch(61.59% 0.172 349)
XYZxyz(33.2704, 20.8954, 30.7090)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5195 #51CC88
analogous
#C551CC #CC5195 #CC5157
triadic
#CC5195 #95CC51 #5195CC
tetradic
#CC5195 #CCC551 #51CC88 #5157CC
square
#CC5195 #CCC551 #51CC88 #5157CC
split-complementary
#CC5195 #57CC51 #51CCC5
monochromatic
#7E2556 #AD3376 #CC5195 #DA80B2 #E8B0CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5195#FFFFFF#000000##000000
##CC51951.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607197
Deuteranopia (green-blind)
#828692
Tritanopia (blue-blind)
#DA4D6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5195;
/* rgb */ color: rgb(204, 81, 149);
/* oklch */ color: oklch(61.6% 0.172 349.0);
Tailwind
colors: {
  custom: {
    50: '#df88b4',
    500: '#cc5195',
    950: '#000000',
  },
}
SCSS
$custom: #cc5195;
$custom-light: #df88b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5195",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 326.829,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61593,
    "c": 0.17169,
    "h": 349
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#CC5195
secondary
#A3D6BA
accent
#DE8C4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5195

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

Preview Lab → · Contrast checker → · Palette generator →

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