#CC5172#CC5172

#CC5172 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.158 H 6.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC5172
RGBrgb(204, 81, 114)
HSLhsl(344, 55%, 56%)
HSVhsv(344, 60%, 80%)
CMYKcmyk(0%, 60.3%, 44.1%, 20%)
CIE-LABlab(51.77, 51.63, 6.80)
CIE-LCHlch(51.77, 52.08, 7.50°)
OKLaboklab(60.45% 0.1572 0.018)
OKLCHoklch(60.45% 0.158 6.5)
XYZxyz(30.8837, 19.9407, 18.1389)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5172 #51CCAB
analogous
#CC51B0 #CC5172 #CC6D51
triadic
#CC5172 #72CC51 #5172CC
tetradic
#CC5172 #B0CC51 #51CCAB #6D51CC
square
#CC5172 #B0CC51 #51CCAB #6D51CC
split-complementary
#CC5172 #51CC6D #51B0CC
monochromatic
#7E253D #AD3354 #CC5172 #DA8098 #E8B0BF

Accessibility & contrast

On white

4.21
#CC5172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC5172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5172
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5172#FFFFFF#000000##000000
##CC51721.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C73
Deuteranopia (green-blind)
#8A846F
Tritanopia (blue-blind)
#DD425E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5172;
/* rgb */ color: rgb(204, 81, 114);
/* oklch */ color: oklch(60.5% 0.158 6.5);
Tailwind
colors: {
  custom: {
    50: '#e0879a',
    500: '#cc5172',
    950: '#000000',
  },
}
SCSS
$custom: #cc5172;
$custom-light: #e0879a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5172",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 343.902,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.1582,
    "h": 6.5
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#CC5172
secondary
#A3D6C8
accent
#DEB64A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5172

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

Preview Lab → · Contrast checker → · Palette generator →

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