#cf078c
a dark, electric magenta / pink · warm · closest name: purple
RGB
207, 7, 140
HSL
320°, 94%, 42%
CMYK
0, 97, 32, 19
Luminance
0.1531
Every format
| HEX | #cf078c |
| RGB | rgb(207, 7, 140) |
| HSL | hsl(320, 94%, 42%) |
| CMYK | cmyk(0%, 97%, 32%, 19%) |
| LAB | lab(46.1 75.0 -17.3) |
| LCH | lch(46.1 76.9 347.0) |
| OKLCH | oklch(0.566 0.235 348.8) |
Copy-ready code
/* CSS */
color: #cf078c;
background-color: #cf078c;
/* Tailwind (arbitrary) */
class="text-[#cf078c] bg-[#cf078c]"
/* SCSS */
$brand: #cf078c;
/* SwiftUI */
Color(red: 0.812, green: 0.027, blue: 0.549)
/* Android */
Color.parseColor("#cf078c")Accessibility — WCAG contrast
Aa
#cf078c on white: 5.17:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cf078c on black: 4.06:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green2.7%
Blue54.9%
CMYK percentages
Cyan0.0%
Magenta96.6%
Yellow32.4%
Key (black)18.8%
Color previews
#cf078c text on a black background
contrast 4.06:1
Card sample
#cf078c text on a white background
contrast 5.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf078c;
Background color
Panel with #cf078c background
background-color: #cf078c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf078c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 7, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 7, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf078c; background: linear-gradient(135deg, #cf078c, #CF0707);