#c017cf
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
192, 23, 207
HSL
295°, 80%, 45%
CMYK
7, 89, 0, 19
Luminance
0.1632
Every format
| HEX | #c017cf |
| RGB | rgb(192, 23, 207) |
| HSL | hsl(295, 80%, 45%) |
| CMYK | cmyk(7%, 89%, 0%, 19%) |
| LAB | lab(47.4 79.2 -55.0) |
| LCH | lch(47.4 96.5 325.2) |
| OKLCH | oklch(0.582 0.263 324.2) |
Copy-ready code
/* CSS */
color: #c017cf;
background-color: #c017cf;
/* Tailwind (arbitrary) */
class="text-[#c017cf] bg-[#c017cf]"
/* SCSS */
$brand: #c017cf;
/* SwiftUI */
Color(red: 0.753, green: 0.090, blue: 0.812)
/* Android */
Color.parseColor("#c017cf")Accessibility — WCAG contrast
Aa
#c017cf on white: 4.92:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c017cf on black: 4.26:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green9.0%
Blue81.2%
CMYK percentages
Cyan7.2%
Magenta88.9%
Yellow0.0%
Key (black)18.8%
Color previews
#c017cf text on a black background
contrast 4.26:1
Card sample
#c017cf text on a white background
contrast 4.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c017cf;
Background color
Panel with #c017cf background
background-color: #c017cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c017cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 23, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 23, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c017cf; background: linear-gradient(135deg, #c017cf, #CF1763);