#CC399D#CC399D

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

Color values

HEX#CC399D
RGBrgb(204, 57, 157)
HSLhsl(319, 59%, 51%)
HSVhsv(319, 72%, 80%)
CMYKcmyk(0%, 72.1%, 23%, 20%)
CIE-LABlab(49.74, 66.11, -21.94)
CIE-LCHlch(49.74, 69.65, 341.64°)
OKLaboklab(59.42% 0.1993 -0.0586)
OKLCHoklch(59.42% 0.208 343.6)
XYZxyz(32.4520, 18.2013, 33.6959)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC399D #39CC68
analogous
#B139CC #CC399D #CC3953
triadic
#CC399D #9DCC39 #399DCC
tetradic
#CC399D #CCB139 #39CC68 #3953CC
square
#CC399D #CCB139 #39CC68 #3953CC
split-complementary
#CC399D #53CC39 #39CCB1
monochromatic
#6E1C54 #9F2979 #CC399D #D96AB5 #E59ACD

Accessibility & contrast

On white

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

On black

4.64
#CC399D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC399D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC399D#FFFFFF#000000##000000
##CC399D1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#767F9A
Tritanopia (blue-blind)
#D93966
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc399d;
/* rgb */ color: rgb(204, 57, 157);
/* oklch */ color: oklch(59.4% 0.208 343.6);
Tailwind
colors: {
  custom: {
    50: '#e07cba',
    500: '#cc399d',
    950: '#000000',
  },
}
SCSS
$custom: #cc399d;
$custom-light: #e07cba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc399d",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 319.184,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.20771,
    "h": 343.6
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC399D

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

Preview Lab → · Contrast checker → · Palette generator →

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