#cc07df
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
204, 7, 223
HSL
295°, 94%, 45%
CMYK
9, 97, 0, 13
Luminance
0.1832
Every format
| HEX | #cc07df |
| RGB | rgb(204, 7, 223) |
| HSL | hsl(295, 94%, 45%) |
| CMYK | cmyk(9%, 97%, 0%, 13%) |
| LAB | lab(49.9 85.3 -60.1) |
| LCH | lch(49.9 104.4 324.8) |
| OKLCH | oklch(0.606 0.283 323.5) |
Copy-ready code
/* CSS */
color: #cc07df;
background-color: #cc07df;
/* Tailwind (arbitrary) */
class="text-[#cc07df] bg-[#cc07df]"
/* SCSS */
$brand: #cc07df;
/* SwiftUI */
Color(red: 0.800, green: 0.027, blue: 0.875)
/* Android */
Color.parseColor("#cc07df")Accessibility — WCAG contrast
Aa
#cc07df on white: 4.50:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cc07df on black: 4.66:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green2.7%
Blue87.5%
CMYK percentages
Cyan8.5%
Magenta96.9%
Yellow0.0%
Key (black)12.5%
Color previews
#cc07df text on a black background
contrast 4.66:1
Card sample
#cc07df text on a white background
contrast 4.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc07df;
Background color
Panel with #cc07df background
background-color: #cc07df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc07df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 7, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 7, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc07df; background: linear-gradient(135deg, #cc07df, #DF0762);