#CC3176#CC3176

#CC3176 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.3% C 0.198 H 358.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC3176
RGBrgb(204, 49, 118)
HSLhsl(333, 61%, 50%)
HSVhsv(333, 76%, 80%)
CMYKcmyk(0%, 76%, 42.2%, 20%)
CIE-LABlab(47.42, 64.27, -1.92)
CIE-LCHlch(47.42, 64.30, 358.29°)
OKLaboklab(57.27% 0.1975 -0.0042)
OKLCHoklch(57.27% 0.198 358.8)
XYZxyz(29.2724, 16.3458, 18.7496)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3176 #31CC87
analogous
#CC31C4 #CC3176 #CC3931
triadic
#CC3176 #76CC31 #3176CC
tetradic
#CC3176 #C4CC31 #31CC87 #3931CC
square
#CC3176 #C4CC31 #31CC87 #3931CC
split-complementary
#CC3176 #31CC39 #31C4CC
monochromatic
#69193D #9B2559 #CC3176 #D96197 #E592B7

Accessibility & contrast

On white

4.92
#CC3176 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CC3176 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3176
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3176#FFFFFF#000000##FFFFFF
##CC31761.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535E78
Deuteranopia (green-blind)
#7E7B72
Tritanopia (blue-blind)
#DD164F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3176;
/* rgb */ color: rgb(204, 49, 118);
/* oklch */ color: oklch(57.3% 0.198 358.8);
Tailwind
colors: {
  custom: {
    50: '#e1789d',
    500: '#cc3176',
    950: '#000000',
  },
}
SCSS
$custom: #cc3176;
$custom-light: #e1789d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3176",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 333.29,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57271,
    "c": 0.19754,
    "h": 358.8
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

primary
#CC3176
secondary
#89D0B0
accent
#E49D43
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CC3176

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

Preview Lab → · Contrast checker → · Palette generator →

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