#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 |
|---|---|
| RGB | rgb(204, 57, 154) |
| HSL | hsl(320, 59%, 51%) |
| HSV | hsv(320, 72%, 80%) |
| CMYK | cmyk(0%, 72.1%, 24.5%, 20%) |
| CIE-LAB | lab(49.62, 65.72, -20.34) |
| CIE-LCH | lch(49.62, 68.80, 342.80°) |
| OKLab | oklab(59.29% 0.1987 -0.0541) |
| OKLCH | oklch(59.29% 0.206 344.8) |
| XYZ | xyz(32.1990, 18.1001, 32.3635) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.44
Purpley Pink
#C83CB9
ΔE00 6.13
Pinky Purple
#C94CBE
ΔE00 7.23
Purplish Pink
#CE5DAE
ΔE00 7.23
Magenta (survey)
#C20078
ΔE00 8.06
Bright Pink
#FE01B1
ΔE00 8.33
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 |
|---|---|---|---|---|
| ##CC399A | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.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