#CC3168#CC3168

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

Color values

HEX#CC3168
RGBrgb(204, 49, 104)
HSLhsl(339, 61%, 50%)
HSVhsv(339, 76%, 80%)
CMYKcmyk(0%, 76%, 49%, 20%)
CIE-LABlab(47.02, 63.01, 6.09)
CIE-LCHlch(47.02, 63.31, 5.52°)
OKLaboklab(56.84% 0.1928 0.0161)
OKLCHoklch(56.84% 0.193 4.8)
XYZxyz(28.5013, 16.0374, 14.6887)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3168 #31CC95
analogous
#CC31B5 #CC3168 #CC4831
triadic
#CC3168 #68CC31 #3168CC
tetradic
#CC3168 #B5CC31 #31CC95 #4831CC
square
#CC3168 #B5CC31 #31CC95 #4831CC
split-complementary
#CC3168 #31CC48 #31B5CC
monochromatic
#691936 #9B254F #CC3168 #D9618C #E592B0

Accessibility & contrast

On white

4.99
#CC3168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CC3168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3168
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3168#FFFFFF#000000##FFFFFF
##CC31681.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575C69
Deuteranopia (green-blind)
#807B64
Tritanopia (blue-blind)
#DE0649
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc3168;
/* rgb */ color: rgb(204, 49, 104);
/* oklch */ color: oklch(56.8% 0.193 4.8);
Tailwind
colors: {
  custom: {
    50: '#e27792',
    500: '#cc3168',
    950: '#000000',
  },
}
SCSS
$custom: #cc3168;
$custom-light: #e27792;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3168",
  "rgb": {
    "r": 204,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 338.71,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.19343,
    "h": 4.8
  },
  "luminance": 0.16033
}

Semantic roles & 50–950 ramp

primary
#CC3168
secondary
#89D0B7
accent
#E4AB43
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0D
muted
#857C7D

Preview Lab

Preview with #CC3168

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

Preview Lab → · Contrast checker → · Palette generator →

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