#c1007f
a dark, electric magenta / pink · warm · closest name: purple
RGB
193, 0, 127
HSL
321°, 100%, 38%
CMYK
0, 100, 34, 24
Luminance
0.1287
Every format
| HEX | #c1007f |
| RGB | rgb(193, 0, 127) |
| HSL | hsl(321, 100%, 38%) |
| CMYK | cmyk(0%, 100%, 34%, 24%) |
| LAB | lab(42.6 71.4 -14.9) |
| LCH | lch(42.6 72.9 348.2) |
| OKLCH | oklch(0.535 0.223 349.9) |
Copy-ready code
/* CSS */
color: #c1007f;
background-color: #c1007f;
/* Tailwind (arbitrary) */
class="text-[#c1007f] bg-[#c1007f]"
/* SCSS */
$brand: #c1007f;
/* SwiftUI */
Color(red: 0.757, green: 0.000, blue: 0.498)
/* Android */
Color.parseColor("#c1007f")Accessibility — WCAG contrast
Aa
#c1007f on white: 5.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c1007f on black: 3.57:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green0.0%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow34.2%
Key (black)24.3%
Color previews
#c1007f text on a black background
contrast 3.57:1
Card sample
#c1007f text on a white background
contrast 5.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c1007f;
Background color
Panel with #c1007f background
background-color: #c1007f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c1007f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 0, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 0, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c1007f; background: linear-gradient(135deg, #c1007f, #C10200);