#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 |
|---|---|
| RGB | rgb(204, 57, 156) |
| HSL | hsl(320, 59%, 51%) |
| HSV | hsv(320, 72%, 80%) |
| CMYK | cmyk(0%, 72.1%, 23.5%, 20%) |
| CIE-LAB | lab(49.70, 65.98, -21.41) |
| CIE-LCH | lch(49.70, 69.36, 342.02°) |
| OKLab | oklab(59.38% 0.1991 -0.0571) |
| OKLCH | oklch(59.38% 0.207 344) |
| XYZ | xyz(32.3669, 18.1673, 33.2481) |
| Luminance | 0.1816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.67
Purpley Pink
#C83CB9
ΔE00 5.73
Pinky Purple
#C94CBE
ΔE00 6.86
Purplish Pink
#CE5DAE
ΔE00 7.11
Bright Pink
#FE01B1
ΔE00 8.26
Magenta (survey)
#C20078
ΔE00 8.32
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 |
|---|---|---|---|---|
| ##CC399C | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.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