#CC399A#CC399A

#CC399A is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.3% C 0.206 H 344.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC399A
RGBrgb(204, 57, 154)
HSLhsl(320, 59%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 72.1%, 24.5%, 20%)
CIE-LABlab(49.62, 65.72, -20.34)
CIE-LCHlch(49.62, 68.80, 342.80°)
OKLaboklab(59.29% 0.1987 -0.0541)
OKLCHoklch(59.29% 0.206 344.8)
XYZxyz(32.1990, 18.1001, 32.3635)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC399A #39CC6B
analogous
#B439CC #CC399A #CC3950
triadic
#CC399A #9ACC39 #399ACC
tetradic
#CC399A #CCB439 #39CC6B #3950CC
square
#CC399A #CCB439 #39CC6B #3950CC
split-complementary
#CC399A #50CC39 #39CCB4
monochromatic
#6E1C52 #9F2977 #CC399A #D96AB3 #E59ACC

Accessibility & contrast

On white

4.55
#CC399A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CC399A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC399A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC399A#FFFFFF#000000##000000
##CC399A1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A669D
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#D93765
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc399a;
/* rgb */ color: rgb(204, 57, 154);
/* oklch */ color: oklch(59.3% 0.206 344.8);
Tailwind
colors: {
  custom: {
    50: '#e07cb8',
    500: '#cc399a',
    950: '#000000',
  },
}
SCSS
$custom: #cc399a;
$custom-light: #e07cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc399a",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 320.408,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59292,
    "c": 0.20594,
    "h": 344.8
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#CC399A
secondary
#90D1A6
accent
#E27B46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC399A

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

Preview Lab → · Contrast checker → · Palette generator →

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