#CC399B#CC399B

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

Color values

HEX#CC399B
RGBrgb(204, 57, 155)
HSLhsl(320, 59%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 72.1%, 24%, 20%)
CIE-LABlab(49.66, 65.85, -20.87)
CIE-LCHlch(49.66, 69.08, 342.41°)
OKLaboklab(59.34% 0.1989 -0.0556)
OKLCHoklch(59.34% 0.207 344.4)
XYZxyz(32.2826, 18.1336, 32.8040)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC399B #39CC6A
analogous
#B339CC #CC399B #CC3951
triadic
#CC399B #9BCC39 #399BCC
tetradic
#CC399B #CCB339 #39CC6A #3951CC
square
#CC399B #CCB339 #39CC6A #3951CC
split-complementary
#CC399B #51CC39 #39CCB3
monochromatic
#6E1C53 #9F2978 #CC399B #D96AB4 #E59ACC

Accessibility & contrast

On white

4.54
#CC399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC399B#FFFFFF#000000##000000
##CC399B1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A669E
Deuteranopia (green-blind)
#767F98
Tritanopia (blue-blind)
#D93865
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc399b;
/* rgb */ color: rgb(204, 57, 155);
/* oklch */ color: oklch(59.3% 0.207 344.4);
Tailwind
colors: {
  custom: {
    50: '#e07cb8',
    500: '#cc399b',
    950: '#000000',
  },
}
SCSS
$custom: #cc399b;
$custom-light: #e07cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc399b",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 320,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59335,
    "c": 0.20652,
    "h": 344.4
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC399B

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

Preview Lab → · Contrast checker → · Palette generator →

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