#CC3161#CC3161

#CC3161 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.7% C 0.192 H 7.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CC3161
RGBrgb(204, 49, 97)
HSLhsl(341, 61%, 50%)
HSVhsv(341, 76%, 80%)
CMYKcmyk(0%, 76%, 52.5%, 20%)
CIE-LABlab(46.84, 62.45, 10.14)
CIE-LCHlch(46.84, 63.26, 9.22°)
OKLaboklab(56.65% 0.1902 0.0261)
OKLCHoklch(56.65% 0.192 7.8)
XYZxyz(28.1604, 15.9010, 12.8933)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3161 #31CC9C
analogous
#CC31AF #CC3161 #CC4E31
triadic
#CC3161 #61CC31 #3161CC
tetradic
#CC3161 #AFCC31 #31CC9C #4E31CC
square
#CC3161 #AFCC31 #31CC9C #4E31CC
split-complementary
#CC3161 #31CC4E #31AFCC
monochromatic
#691932 #9B254A #CC3161 #D96186 #E592AC

Accessibility & contrast

On white

5.02
#CC3161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CC3161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3161
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3161#FFFFFF#000000##FFFFFF
##CC31611.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595B62
Deuteranopia (green-blind)
#817A5D
Tritanopia (blue-blind)
#DF0046
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc3161;
/* rgb */ color: rgb(204, 49, 97);
/* oklch */ color: oklch(56.7% 0.192 7.8);
Tailwind
colors: {
  custom: {
    50: '#e2778d',
    500: '#cc3161',
    950: '#000000',
  },
}
SCSS
$custom: #cc3161;
$custom-light: #e2778d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3161",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 341.419,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.19199,
    "h": 7.8
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#CC3161
secondary
#89D0BA
accent
#E4B343
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC3161

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

Preview Lab → · Contrast checker → · Palette generator →

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