#cf0c7c
a dark, electric magenta / pink · warm · closest name: purple
RGB
207, 12, 124
HSL
326°, 89%, 43%
CMYK
0, 94, 40, 19
Luminance
0.1498
Every format
| HEX | #cf0c7c |
| RGB | rgb(207, 12, 124) |
| HSL | hsl(326, 89%, 43%) |
| CMYK | cmyk(0%, 94%, 40%, 19%) |
| LAB | lab(45.6 73.0 -8.2) |
| LCH | lch(45.6 73.4 353.6) |
| OKLCH | oklch(0.561 0.226 354.7) |
Copy-ready code
/* CSS */
color: #cf0c7c;
background-color: #cf0c7c;
/* Tailwind (arbitrary) */
class="text-[#cf0c7c] bg-[#cf0c7c]"
/* SCSS */
$brand: #cf0c7c;
/* SwiftUI */
Color(red: 0.812, green: 0.047, blue: 0.486)
/* Android */
Color.parseColor("#cf0c7c")Accessibility — WCAG contrast
Aa
#cf0c7c on white: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cf0c7c on black: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green4.7%
Blue48.6%
CMYK percentages
Cyan0.0%
Magenta94.2%
Yellow40.1%
Key (black)18.8%
Color previews
#cf0c7c text on a black background
contrast 4.00:1
Card sample
#cf0c7c text on a white background
contrast 5.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf0c7c;
Background color
Panel with #cf0c7c background
background-color: #cf0c7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf0c7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 12, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 12, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf0c7c; background: linear-gradient(135deg, #cf0c7c, #CF1E0C);