#cc16df
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
204, 22, 223
HSL
294°, 82%, 48%
CMYK
9, 90, 0, 13
Luminance
0.1874
Every format
| HEX | #cc16df |
| RGB | rgb(204, 22, 223) |
| HSL | hsl(294, 82%, 48%) |
| CMYK | cmyk(9%, 90%, 0%, 13%) |
| LAB | lab(50.4 83.8 -59.3) |
| LCH | lch(50.4 102.7 324.7) |
| OKLCH | oklch(0.610 0.279 323.4) |
Copy-ready code
/* CSS */
color: #cc16df;
background-color: #cc16df;
/* Tailwind (arbitrary) */
class="text-[#cc16df] bg-[#cc16df]"
/* SCSS */
$brand: #cc16df;
/* SwiftUI */
Color(red: 0.800, green: 0.086, blue: 0.875)
/* Android */
Color.parseColor("#cc16df")Accessibility — WCAG contrast
Aa
#cc16df on white: 4.42:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#cc16df on black: 4.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green8.6%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta90.1%
Yellow0.0%
Key (black)12.5%
Color previews
#cc16df text on a black background
contrast 4.75:1
Card sample
#cc16df text on a white background
contrast 4.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc16df;
Background color
Panel with #cc16df background
background-color: #cc16df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc16df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 22, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 22, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc16df; background: linear-gradient(135deg, #cc16df, #DF166C);