#c103c1
a dark, electric magenta / pink · warm · closest name: magenta
RGB
193, 3, 193
HSL
300°, 97%, 38%
CMYK
0, 98, 0, 24
Luminance
0.1525
Every format
| HEX | #c103c1 |
| RGB | rgb(193, 3, 193) |
| HSL | hsl(300, 97%, 38%) |
| CMYK | cmyk(0%, 98%, 0%, 24%) |
| LAB | lab(46.0 79.4 -49.2) |
| LCH | lch(46.0 93.4 328.2) |
| OKLCH | oklch(0.570 0.261 328.4) |
Copy-ready code
/* CSS */
color: #c103c1;
background-color: #c103c1;
/* Tailwind (arbitrary) */
class="text-[#c103c1] bg-[#c103c1]"
/* SCSS */
$brand: #c103c1;
/* SwiftUI */
Color(red: 0.757, green: 0.012, blue: 0.757)
/* Android */
Color.parseColor("#c103c1")Accessibility — WCAG contrast
Aa
#c103c1 on white: 5.18:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c103c1 on black: 4.05:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green1.2%
Blue75.7%
CMYK percentages
Cyan0.0%
Magenta98.4%
Yellow0.0%
Key (black)24.3%
Color previews
#c103c1 text on a black background
contrast 4.05:1
Card sample
#c103c1 text on a white background
contrast 5.18:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c103c1;
Background color
Panel with #c103c1 background
background-color: #c103c1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c103c1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 3, 193, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 3, 193, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c103c1; background: linear-gradient(135deg, #c103c1, #C10342);