#c40c64
a dark, electric magenta / pink · warm · closest name: crimson
RGB
196, 12, 100
HSL
331°, 89%, 41%
CMYK
0, 94, 49, 23
Luminance
0.1292
Every format
| HEX | #c40c64 |
| RGB | rgb(196, 12, 100) |
| HSL | hsl(331, 89%, 41%) |
| CMYK | cmyk(0%, 94%, 49%, 23%) |
| LAB | lab(42.6 68.4 2.1) |
| LCH | lch(42.6 68.5 1.7) |
| OKLCH | oklch(0.533 0.211 1.6) |
Copy-ready code
/* CSS */
color: #c40c64;
background-color: #c40c64;
/* Tailwind (arbitrary) */
class="text-[#c40c64] bg-[#c40c64]"
/* SCSS */
$brand: #c40c64;
/* SwiftUI */
Color(red: 0.769, green: 0.047, blue: 0.392)
/* Android */
Color.parseColor("#c40c64")Accessibility — WCAG contrast
Aa
#c40c64 on white: 5.86:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#c40c64 on black: 3.58:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.9%
Green4.7%
Blue39.2%
CMYK percentages
Cyan0.0%
Magenta93.9%
Yellow49.0%
Key (black)23.1%
Color previews
#c40c64 text on a black background
contrast 3.58:1
Card sample
#c40c64 text on a white background
contrast 5.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c40c64;
Background color
Panel with #c40c64 background
background-color: #c40c64;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c40c64;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(196, 12, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 12, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c40c64; background: linear-gradient(135deg, #c40c64, #C42F0C);