#CC3166#CC3166

#CC3166 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.8% C 0.193 H 5.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC3166
RGBrgb(204, 49, 102)
HSLhsl(339, 61%, 50%)
HSVhsv(339, 76%, 80%)
CMYKcmyk(0%, 76%, 50%, 20%)
CIE-LABlab(46.97, 62.85, 7.24)
CIE-LCHlch(46.97, 63.26, 6.57°)
OKLaboklab(56.79% 0.192 0.019)
OKLCHoklch(56.79% 0.193 5.6)
XYZxyz(28.4009, 15.9972, 14.1600)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3166 #31CC97
analogous
#CC31B4 #CC3166 #CC4A31
triadic
#CC3166 #66CC31 #3166CC
tetradic
#CC3166 #B4CC31 #31CC97 #4A31CC
square
#CC3166 #B4CC31 #31CC97 #4A31CC
split-complementary
#CC3166 #31CC4A #31B4CC
monochromatic
#691935 #9B254D #CC3166 #D9618A #E592AF

Accessibility & contrast

On white

5.00
#CC3166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CC3166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3166
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3166#FFFFFF#000000##FFFFFF
##CC31661.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585C67
Deuteranopia (green-blind)
#817A62
Tritanopia (blue-blind)
#DE0348
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc3166;
/* rgb */ color: rgb(204, 49, 102);
/* oklch */ color: oklch(56.8% 0.193 5.6);
Tailwind
colors: {
  custom: {
    50: '#e27791',
    500: '#cc3166',
    950: '#000000',
  },
}
SCSS
$custom: #cc3166;
$custom-light: #e27791;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3166",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 339.484,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.19298,
    "h": 5.6
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

primary
#CC3166
secondary
#89D0B8
accent
#E4AD43
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC3166

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

Preview Lab → · Contrast checker → · Palette generator →

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