#c0107b
a dark, electric magenta / pink · warm · closest name: purple
RGB
192, 16, 123
HSL
324°, 85%, 41%
CMYK
0, 92, 36, 25
Luminance
0.1301
Every format
| HEX | #c0107b |
| RGB | rgb(192, 16, 123) |
| HSL | hsl(324, 85%, 41%) |
| CMYK | cmyk(0%, 92%, 36%, 25%) |
| LAB | lab(42.8 69.1 -12.2) |
| LCH | lch(42.8 70.2 350.0) |
| OKLCH | oklch(0.535 0.215 351.6) |
Copy-ready code
/* CSS */
color: #c0107b;
background-color: #c0107b;
/* Tailwind (arbitrary) */
class="text-[#c0107b] bg-[#c0107b]"
/* SCSS */
$brand: #c0107b;
/* SwiftUI */
Color(red: 0.753, green: 0.063, blue: 0.482)
/* Android */
Color.parseColor("#c0107b")Accessibility — WCAG contrast
Aa
#c0107b on white: 5.83:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c0107b on black: 3.60:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green6.3%
Blue48.2%
CMYK percentages
Cyan0.0%
Magenta91.7%
Yellow35.9%
Key (black)24.7%
Color previews
#c0107b text on a black background
contrast 3.60:1
Card sample
#c0107b text on a white background
contrast 5.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0107b;
Background color
Panel with #c0107b background
background-color: #c0107b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0107b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 16, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 16, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0107b; background: linear-gradient(135deg, #c0107b, #C01A10);