#ff28df
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
255, 40, 223
HSL
309°, 100%, 58%
CMYK
0, 84, 13, 0
Luminance
0.2811
Every format
| HEX | #ff28df |
| RGB | rgb(255, 40, 223) |
| HSL | hsl(309, 100%, 58%) |
| CMYK | cmyk(0%, 84%, 13%, 0%) |
| LAB | lab(60.0 89.9 -43.5) |
| LCH | lch(60.0 99.9 334.2) |
| OKLCH | oklch(0.694 0.290 335.7) |
Copy-ready code
/* CSS */
color: #ff28df;
background-color: #ff28df;
/* Tailwind (arbitrary) */
class="text-[#ff28df] bg-[#ff28df]"
/* SCSS */
$brand: #ff28df;
/* SwiftUI */
Color(red: 1.000, green: 0.157, blue: 0.875)
/* Android */
Color.parseColor("#ff28df")Accessibility — WCAG contrast
Aa
#ff28df on white: 3.17:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ff28df on black: 6.62:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green15.7%
Blue87.5%
CMYK percentages
Cyan0.0%
Magenta84.3%
Yellow12.5%
Key (black)0.0%
Color previews
#ff28df text on a black background
contrast 6.62:1
Card sample
#ff28df text on a white background
contrast 3.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff28df;
Background color
Panel with #ff28df background
background-color: #ff28df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff28df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 40, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 40, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff28df; background: linear-gradient(135deg, #ff28df, #FF2850);