#ff007e
a balanced, electric magenta / pink · warm · closest name: crimson
RGB
255, 0, 126
HSL
330°, 100%, 50%
CMYK
0, 100, 51, 0
Luminance
0.2277
Every format
| HEX | #ff007e |
| RGB | rgb(255, 0, 126) |
| HSL | hsl(330, 100%, 50%) |
| CMYK | cmyk(0%, 100%, 51%, 0%) |
| LAB | lab(54.8 84.4 5.2) |
| LCH | lch(54.8 84.5 3.5) |
| OKLCH | oklch(0.645 0.260 3.1) |
Copy-ready code
/* CSS */
color: #ff007e;
background-color: #ff007e;
/* Tailwind (arbitrary) */
class="text-[#ff007e] bg-[#ff007e]"
/* SCSS */
$brand: #ff007e;
/* SwiftUI */
Color(red: 1.000, green: 0.000, blue: 0.494)
/* Android */
Color.parseColor("#ff007e")Accessibility — WCAG contrast
Aa
#ff007e on white: 3.78:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ff007e on black: 5.55:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green0.0%
Blue49.4%
CMYK percentages
Cyan0.0%
Magenta100.0%
Yellow50.6%
Key (black)0.0%
Color previews
#ff007e text on a black background
contrast 5.55:1
Card sample
#ff007e text on a white background
contrast 3.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff007e;
Background color
Panel with #ff007e background
background-color: #ff007e;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff007e;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 0, 126, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 0, 126, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff007e; background: linear-gradient(135deg, #ff007e, #FF2C00);