#CC5176#CC5176

#CC5176 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.6% C 0.159 H 4.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC5176
RGBrgb(204, 81, 118)
HSLhsl(342, 55%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60.3%, 42.2%, 20%)
CIE-LABlab(51.88, 52.04, 4.55)
CIE-LCHlch(51.88, 52.24, 5.00°)
OKLaboklab(60.57% 0.1586 0.0123)
OKLCHoklch(60.57% 0.159 4.4)
XYZxyz(31.1164, 20.0338, 19.3643)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5176 #51CCA7
analogous
#CC51B4 #CC5176 #CC6951
triadic
#CC5176 #76CC51 #5176CC
tetradic
#CC5176 #B4CC51 #51CCA7 #6951CC
square
#CC5176 #B4CC51 #51CCA7 #6951CC
split-complementary
#CC5176 #51CC69 #51B4CC
monochromatic
#7E2540 #AD3358 #CC5176 #DA809B #E8B0C1

Accessibility & contrast

On white

4.19
#CC5176 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC5176 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5176
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5176#FFFFFF#000000##000000
##CC51761.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D77
Deuteranopia (green-blind)
#898573
Tritanopia (blue-blind)
#DD435F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5176;
/* rgb */ color: rgb(204, 81, 118);
/* oklch */ color: oklch(60.6% 0.159 4.4);
Tailwind
colors: {
  custom: {
    50: '#e0879d',
    500: '#cc5176',
    950: '#000000',
  },
}
SCSS
$custom: #cc5176;
$custom-light: #e0879d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5176",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 118
  },
  "hsl": {
    "h": 341.951,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60565,
    "c": 0.15911,
    "h": 4.4
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#CC5176
secondary
#A3D6C7
accent
#DEB14A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5176

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

Preview Lab → · Contrast checker → · Palette generator →

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