#c0117c
a dark, electric magenta / pink · warm · closest name: purple
RGB
192, 17, 124
HSL
323°, 84%, 41%
CMYK
0, 91, 35, 25
Luminance
0.1306
Every format
| HEX | #c0117c |
| RGB | rgb(192, 17, 124) |
| HSL | hsl(323, 84%, 41%) |
| CMYK | cmyk(0%, 91%, 35%, 25%) |
| LAB | lab(42.9 69.1 -12.7) |
| LCH | lch(42.9 70.2 349.6) |
| OKLCH | oklch(0.536 0.215 351.2) |
Copy-ready code
/* CSS */
color: #c0117c;
background-color: #c0117c;
/* Tailwind (arbitrary) */
class="text-[#c0117c] bg-[#c0117c]"
/* SCSS */
$brand: #c0117c;
/* SwiftUI */
Color(red: 0.753, green: 0.067, blue: 0.486)
/* Android */
Color.parseColor("#c0117c")Accessibility — WCAG contrast
Aa
#c0117c on white: 5.81:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c0117c on black: 3.61:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green6.7%
Blue48.6%
CMYK percentages
Cyan0.0%
Magenta91.1%
Yellow35.4%
Key (black)24.7%
Color previews
#c0117c text on a black background
contrast 3.61:1
Card sample
#c0117c text on a white background
contrast 5.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0117c;
Background color
Panel with #c0117c background
background-color: #c0117c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0117c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 17, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 17, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0117c; background: linear-gradient(135deg, #c0117c, #C01B11);