#ce027f
a dark, electric magenta / pink · warm · closest name: purple
RGB
206, 2, 127
HSL
323°, 98%, 41%
CMYK
0, 99, 38, 19
Luminance
0.1470
Every format
| HEX | #ce027f |
| RGB | rgb(206, 2, 127) |
| HSL | hsl(323, 98%, 41%) |
| CMYK | cmyk(0%, 99%, 38%, 19%) |
| LAB | lab(45.2 73.9 -10.7) |
| LCH | lch(45.2 74.7 351.8) |
| OKLCH | oklch(0.558 0.230 353.2) |
Copy-ready code
/* CSS */
color: #ce027f;
background-color: #ce027f;
/* Tailwind (arbitrary) */
class="text-[#ce027f] bg-[#ce027f]"
/* SCSS */
$brand: #ce027f;
/* SwiftUI */
Color(red: 0.808, green: 0.008, blue: 0.498)
/* Android */
Color.parseColor("#ce027f")Accessibility — WCAG contrast
Aa
#ce027f on white: 5.33:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#ce027f on black: 3.94:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green0.8%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta99.0%
Yellow38.3%
Key (black)19.2%
Color previews
#ce027f text on a black background
contrast 3.94:1
Card sample
#ce027f text on a white background
contrast 5.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ce027f;
Background color
Panel with #ce027f background
background-color: #ce027f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ce027f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 2, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 2, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ce027f; background: linear-gradient(135deg, #ce027f, #CE0D02);