#CC399F#CC399F

#CC399F is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.5% C 0.209 H 342.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC399F
RGBrgb(204, 57, 159)
HSLhsl(318, 59%, 51%)
HSVhsv(318, 72%, 80%)
CMYKcmyk(0%, 72.1%, 22.1%, 20%)
CIE-LABlab(49.82, 66.37, -23.00)
CIE-LCHlch(49.82, 70.24, 340.89°)
OKLaboklab(59.51% 0.1996 -0.0616)
OKLCHoklch(59.51% 0.209 342.9)
XYZxyz(32.6241, 18.2702, 34.6025)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC399F #39CC66
analogous
#AF39CC #CC399F #CC3955
triadic
#CC399F #9FCC39 #399FCC
tetradic
#CC399F #CCAF39 #39CC66 #3955CC
square
#CC399F #CCAF39 #39CC66 #3955CC
split-complementary
#CC399F #55CC39 #39CCAF
monochromatic
#6E1C55 #9F297B #CC399F #D96AB7 #E59ACE

Accessibility & contrast

On white

4.51
#CC399F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC399F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC399F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC399F#FFFFFF#000000##000000
##CC399F1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4867A2
Deuteranopia (green-blind)
#757F9C
Tritanopia (blue-blind)
#D93A67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc399f;
/* rgb */ color: rgb(204, 57, 159);
/* oklch */ color: oklch(59.5% 0.209 342.9);
Tailwind
colors: {
  custom: {
    50: '#e07cbb',
    500: '#cc399f',
    950: '#000000',
  },
}
SCSS
$custom: #cc399f;
$custom-light: #e07cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc399f",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 318.367,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.20891,
    "h": 342.9
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#CC399F
secondary
#90D1A4
accent
#E27646
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC399F

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

Preview Lab → · Contrast checker → · Palette generator →

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