#CC3162#CC3162

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

Color values

HEX#CC3162
RGBrgb(204, 49, 98)
HSLhsl(341, 61%, 50%)
HSVhsv(341, 76%, 80%)
CMYKcmyk(0%, 76%, 52%, 20%)
CIE-LABlab(46.87, 62.52, 9.56)
CIE-LCHlch(46.87, 63.25, 8.69°)
OKLaboklab(56.68% 0.1906 0.0247)
OKLCHoklch(56.68% 0.192 7.4)
XYZxyz(28.2073, 15.9198, 13.1404)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3162 #31CC9B
analogous
#CC31B0 #CC3162 #CC4D31
triadic
#CC3162 #62CC31 #3162CC
tetradic
#CC3162 #B0CC31 #31CC9B #4D31CC
square
#CC3162 #B0CC31 #31CC9B #4D31CC
split-complementary
#CC3162 #31CC4D #31B0CC
monochromatic
#691933 #9B254A #CC3162 #D96187 #E592AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3162#FFFFFF#000000##FFFFFF
##CC31621.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)
#595B63
Deuteranopia (green-blind)
#817A5E
Tritanopia (blue-blind)
#DE0046
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc3162;
/* rgb */ color: rgb(204, 49, 98);
/* oklch */ color: oklch(56.7% 0.192 7.4);
Tailwind
colors: {
  custom: {
    50: '#e2778e',
    500: '#cc3162',
    950: '#000000',
  },
}
SCSS
$custom: #cc3162;
$custom-light: #e2778e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3162",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 341.032,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.19217,
    "h": 7.4
  },
  "luminance": 0.15916
}

Semantic roles & 50–950 ramp

primary
#CC3162
secondary
#89D0B9
accent
#E4B143
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC3162

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

Preview Lab → · Contrast checker → · Palette generator →

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