#cc3366
a balanced, vivid magenta / pink · warm · closest name: crimson
RGB
204, 51, 102
HSL
340°, 60%, 50%
CMYK
0, 75, 50, 20
Luminance
0.1616
Every format
| HEX | #cc3366 |
| RGB | rgb(204, 51, 102) |
| HSL | hsl(340, 60%, 50%) |
| CMYK | cmyk(0%, 75%, 50%, 20%) |
| LAB | lab(47.2 62.2 7.6) |
| LCH | lch(47.2 62.7 6.9) |
| OKLCH | oklch(0.570 0.191 5.9) |
Copy-ready code
/* CSS */
color: #cc3366;
background-color: #cc3366;
/* Tailwind (arbitrary) */
class="text-[#cc3366] bg-[#cc3366]"
/* SCSS */
$brand: #cc3366;
/* SwiftUI */
Color(red: 0.800, green: 0.200, blue: 0.400)
/* Android */
Color.parseColor("#cc3366")Accessibility — WCAG contrast
Aa
#cc3366 on white: 4.96:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cc3366 on black: 4.23:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green20.0%
Blue40.0%
CMYK percentages
Cyan0.0%
Magenta75.0%
Yellow50.0%
Key (black)20.0%
Color previews
#cc3366 text on a black background
contrast 4.23:1
Card sample
#cc3366 text on a white background
contrast 4.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc3366;
Background color
Panel with #cc3366 background
background-color: #cc3366;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc3366;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 51, 102, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 51, 102, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc3366; background: linear-gradient(135deg, #cc3366, #CC6633);