#7c0c63
a dark, electric magenta / pink · warm · closest name: purple
RGB
124, 12, 99
HSL
313°, 82%, 27%
CMYK
0, 90, 20, 51
Luminance
0.0545
Every format
| HEX | #7c0c63 |
| RGB | rgb(124, 12, 99) |
| HSL | hsl(313, 82%, 27%) |
| CMYK | cmyk(0%, 90%, 20%, 51%) |
| LAB | lab(28.0 51.8 -20.8) |
| LCH | lch(28.0 55.9 338.1) |
| OKLCH | oklch(0.401 0.165 340.0) |
Copy-ready code
/* CSS */
color: #7c0c63;
background-color: #7c0c63;
/* Tailwind (arbitrary) */
class="text-[#7c0c63] bg-[#7c0c63]"
/* SCSS */
$brand: #7c0c63;
/* SwiftUI */
Color(red: 0.486, green: 0.047, blue: 0.388)
/* Android */
Color.parseColor("#7c0c63")Accessibility — WCAG contrast
Aa
#7c0c63 on white: 10.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#7c0c63 on black: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green4.7%
Blue38.8%
CMYK percentages
Cyan0.0%
Magenta90.3%
Yellow20.2%
Key (black)51.4%
Color previews
#7c0c63 text on a black background
contrast 2.09:1
Card sample
#7c0c63 text on a white background
contrast 10.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7c0c63;
Background color
Panel with #7c0c63 background
background-color: #7c0c63;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7c0c63;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 12, 99, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 12, 99, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c0c63; background: linear-gradient(135deg, #7c0c63, #7C0C18);