#c413cf
a dark, electric magenta / pink · warm · closest name: magenta
RGB
196, 19, 207
HSL
297°, 83%, 44%
CMYK
5, 91, 0, 19
Luminance
0.1671
Every format
| HEX | #c413cf |
| RGB | rgb(196, 19, 207) |
| HSL | hsl(297, 83%, 44%) |
| CMYK | cmyk(5%, 91%, 0%, 19%) |
| LAB | lab(47.9 80.4 -54.2) |
| LCH | lch(47.9 97.0 326.0) |
| OKLCH | oklch(0.587 0.266 325.3) |
Copy-ready code
/* CSS */
color: #c413cf;
background-color: #c413cf;
/* Tailwind (arbitrary) */
class="text-[#c413cf] bg-[#c413cf]"
/* SCSS */
$brand: #c413cf;
/* SwiftUI */
Color(red: 0.769, green: 0.075, blue: 0.812)
/* Android */
Color.parseColor("#c413cf")Accessibility — WCAG contrast
Aa
#c413cf on white: 4.84:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c413cf on black: 4.34:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green7.5%
Blue81.2%
CMYK percentages
Cyan5.3%
Magenta90.8%
Yellow0.0%
Key (black)18.8%
Color previews
#c413cf text on a black background
contrast 4.34:1
Card sample
#c413cf text on a white background
contrast 4.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c413cf;
Background color
Panel with #c413cf background
background-color: #c413cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c413cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 19, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 19, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c413cf; background: linear-gradient(135deg, #c413cf, #CF135D);