#cf079d
a dark, electric magenta / pink · warm · closest name: purple
RGB
207, 7, 157
HSL
315°, 94%, 42%
CMYK
0, 97, 24, 19
Luminance
0.1585
Every format
| HEX | #cf079d |
| RGB | rgb(207, 7, 157) |
| HSL | hsl(315, 94%, 42%) |
| CMYK | cmyk(0%, 97%, 24%, 19%) |
| LAB | lab(46.8 76.8 -26.5) |
| LCH | lch(46.8 81.3 341.0) |
| OKLCH | oklch(0.574 0.243 343.0) |
Copy-ready code
/* CSS */
color: #cf079d;
background-color: #cf079d;
/* Tailwind (arbitrary) */
class="text-[#cf079d] bg-[#cf079d]"
/* SCSS */
$brand: #cf079d;
/* SwiftUI */
Color(red: 0.812, green: 0.027, blue: 0.616)
/* Android */
Color.parseColor("#cf079d")Accessibility — WCAG contrast
Aa
#cf079d on white: 5.04:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cf079d on black: 4.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green2.7%
Blue61.6%
CMYK percentages
Cyan0.0%
Magenta96.6%
Yellow24.2%
Key (black)18.8%
Color previews
#cf079d text on a black background
contrast 4.17:1
Card sample
#cf079d text on a white background
contrast 5.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cf079d;
Background color
Panel with #cf079d background
background-color: #cf079d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cf079d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 7, 157, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 7, 157, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf079d; background: linear-gradient(135deg, #cf079d, #CF0718);