#c0139f
a dark, electric magenta / pink · warm · closest name: purple
RGB
192, 19, 159
HSL
311°, 82%, 41%
CMYK
0, 90, 17, 25
Luminance
0.1418
Every format
| HEX | #c0139f |
| RGB | rgb(192, 19, 159) |
| HSL | hsl(311, 82%, 41%) |
| CMYK | cmyk(0%, 90%, 17%, 25%) |
| LAB | lab(44.5 72.9 -31.5) |
| LCH | lch(44.5 79.4 336.7) |
| OKLCH | oklch(0.553 0.233 338.5) |
Copy-ready code
/* CSS */
color: #c0139f;
background-color: #c0139f;
/* Tailwind (arbitrary) */
class="text-[#c0139f] bg-[#c0139f]"
/* SCSS */
$brand: #c0139f;
/* SwiftUI */
Color(red: 0.753, green: 0.075, blue: 0.624)
/* Android */
Color.parseColor("#c0139f")Accessibility — WCAG contrast
Aa
#c0139f on white: 5.48:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c0139f on black: 3.84:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green7.5%
Blue62.4%
CMYK percentages
Cyan0.0%
Magenta90.1%
Yellow17.2%
Key (black)24.7%
Color previews
#c0139f text on a black background
contrast 3.84:1
Card sample
#c0139f text on a white background
contrast 5.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0139f;
Background color
Panel with #c0139f background
background-color: #c0139f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0139f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 19, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 19, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0139f; background: linear-gradient(135deg, #c0139f, #C0132C);