#f45af4
a light, electric magenta / pink · warm · closest name: violet
RGB
244, 90, 244
HSL
300°, 88%, 66%
CMYK
0, 63, 0, 4
Luminance
0.3308
Every format
| HEX | #f45af4 |
| RGB | rgb(244, 90, 244) |
| HSL | hsl(300, 88%, 66%) |
| CMYK | cmyk(0%, 63%, 0%, 4%) |
| LAB | lab(64.2 76.6 -48.6) |
| LCH | lch(64.2 90.7 327.6) |
| OKLCH | oklch(0.724 0.252 327.8) |
Copy-ready code
/* CSS */
color: #f45af4;
background-color: #f45af4;
/* Tailwind (arbitrary) */
class="text-[#f45af4] bg-[#f45af4]"
/* SCSS */
$brand: #f45af4;
/* SwiftUI */
Color(red: 0.957, green: 0.353, blue: 0.957)
/* Android */
Color.parseColor("#f45af4")Accessibility — WCAG contrast
Aa
#f45af4 on white: 2.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f45af4 on black: 7.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red95.7%
Green35.3%
Blue95.7%
CMYK percentages
Cyan0.0%
Magenta63.1%
Yellow0.0%
Key (black)4.3%
Color previews
#f45af4 text on a black background
contrast 7.62:1
Card sample
#f45af4 text on a white background
contrast 2.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f45af4;
Background color
Panel with #f45af4 background
background-color: #f45af4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f45af4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(244, 90, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(244, 90, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f45af4; background: linear-gradient(135deg, #f45af4, #F45A8D);