#cf078f
a dark, electric magenta / pink · warm · closest name: purple
RGB
207, 7, 143
HSL
319°, 94%, 42%
CMYK
0, 97, 31, 19
Luminance
0.1540
Every format
| HEX | #cf078f |
| RGB | rgb(207, 7, 143) |
| HSL | hsl(319, 94%, 42%) |
| CMYK | cmyk(0%, 97%, 31%, 19%) |
| LAB | lab(46.2 75.3 -18.9) |
| LCH | lch(46.2 77.6 345.9) |
| OKLCH | oklch(0.568 0.236 347.8) |
Copy-ready code
/* CSS */
color: #cf078f;
background-color: #cf078f;
/* Tailwind (arbitrary) */
class="text-[#cf078f] bg-[#cf078f]"
/* SCSS */
$brand: #cf078f;
/* SwiftUI */
Color(red: 0.812, green: 0.027, blue: 0.561)
/* Android */
Color.parseColor("#cf078f")Accessibility — WCAG contrast
Aa
#cf078f on white: 5.15:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cf078f on black: 4.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green2.7%
Blue56.1%
CMYK percentages
Cyan0.0%
Magenta96.6%
Yellow30.9%
Key (black)18.8%
Color previews
#cf078f text on a black background
contrast 4.08:1
Card sample
#cf078f text on a white background
contrast 5.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf078f;
Background color
Panel with #cf078f background
background-color: #cf078f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf078f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 7, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 7, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf078f; background: linear-gradient(135deg, #cf078f, #CF070A);