#CC399C#CC399C

#CC399C is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.4% C 0.207 H 344.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CC399C
RGBrgb(204, 57, 156)
HSLhsl(320, 59%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 72.1%, 23.5%, 20%)
CIE-LABlab(49.70, 65.98, -21.41)
CIE-LCHlch(49.70, 69.36, 342.02°)
OKLaboklab(59.38% 0.1991 -0.0571)
OKLCHoklch(59.38% 0.207 344)
XYZxyz(32.3669, 18.1673, 33.2481)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC399C #39CC69
analogous
#B239CC #CC399C #CC3952
triadic
#CC399C #9CCC39 #399CCC
tetradic
#CC399C #CCB239 #39CC69 #3952CC
square
#CC399C #CCB239 #39CC69 #3952CC
split-complementary
#CC399C #52CC39 #39CCB2
monochromatic
#6E1C53 #9F2978 #CC399C #D96AB4 #E59ACD

Accessibility & contrast

On white

4.53
#CC399C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CC399C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC399C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC399C#FFFFFF#000000##000000
##CC399C1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#49679F
Deuteranopia (green-blind)
#767F99
Tritanopia (blue-blind)
#D93866
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc399c;
/* rgb */ color: rgb(204, 57, 156);
/* oklch */ color: oklch(59.4% 0.207 344.0);
Tailwind
colors: {
  custom: {
    50: '#e07cb9',
    500: '#cc399c',
    950: '#000000',
  },
}
SCSS
$custom: #cc399c;
$custom-light: #e07cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc399c",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 319.592,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.20711,
    "h": 344
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#CC399C
secondary
#90D1A5
accent
#E27946
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC399C

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

Preview Lab → · Contrast checker → · Palette generator →

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