#CC5173#CC5173

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

Color values

HEX#CC5173
RGBrgb(204, 81, 115)
HSLhsl(343, 55%, 56%)
HSVhsv(343, 60%, 80%)
CMYKcmyk(0%, 60.3%, 43.6%, 20%)
CIE-LABlab(51.80, 51.73, 6.24)
CIE-LCHlch(51.80, 52.11, 6.87°)
OKLaboklab(60.48% 0.1575 0.0166)
OKLCHoklch(60.48% 0.158 6)
XYZxyz(30.9409, 19.9636, 18.4403)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5173 #51CCAA
analogous
#CC51B0 #CC5173 #CC6C51
triadic
#CC5173 #73CC51 #5173CC
tetradic
#CC5173 #B0CC51 #51CCAA #6C51CC
square
#CC5173 #B0CC51 #51CCAA #6C51CC
split-complementary
#CC5173 #51CC6C #51B0CC
monochromatic
#7E253D #AD3355 #CC5173 #DA8099 #E8B0BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5173#FFFFFF#000000##000000
##CC51731.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)
#6A6C74
Deuteranopia (green-blind)
#8A8470
Tritanopia (blue-blind)
#DD425E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5173;
/* rgb */ color: rgb(204, 81, 115);
/* oklch */ color: oklch(60.5% 0.158 6.0);
Tailwind
colors: {
  custom: {
    50: '#e0879b',
    500: '#cc5173',
    950: '#000000',
  },
}
SCSS
$custom: #cc5173;
$custom-light: #e0879b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5173",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 343.415,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6048,
    "c": 0.15841,
    "h": 6
  },
  "luminance": 0.1996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5173

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

Preview Lab → · Contrast checker → · Palette generator →

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