#f56df4
a light, electric magenta / pink · warm · closest name: violet
RGB
245, 109, 244
HSL
300°, 87%, 69%
CMYK
0, 56, 0, 4
Luminance
0.3688
Every format
| HEX | #f56df4 |
| RGB | rgb(245, 109, 244) |
| HSL | hsl(300, 87%, 69%) |
| CMYK | cmyk(0%, 56%, 0%, 4%) |
| LAB | lab(67.2 69.0 -44.0) |
| LCH | lch(67.2 81.8 327.5) |
| OKLCH | oklch(0.746 0.227 327.8) |
Copy-ready code
/* CSS */
color: #f56df4;
background-color: #f56df4;
/* Tailwind (arbitrary) */
class="text-[#f56df4] bg-[#f56df4]"
/* SCSS */
$brand: #f56df4;
/* SwiftUI */
Color(red: 0.961, green: 0.427, blue: 0.957)
/* Android */
Color.parseColor("#f56df4")Accessibility — WCAG contrast
Aa
#f56df4 on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f56df4 on black: 8.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red96.1%
Green42.7%
Blue95.7%
CMYK percentages
Cyan0.0%
Magenta55.5%
Yellow0.4%
Key (black)3.9%
Color previews
#f56df4 text on a black background
contrast 8.38:1
Card sample
#f56df4 text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f56df4;
Background color
Panel with #f56df4 background
background-color: #f56df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f56df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(245, 109, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 109, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f56df4; background: linear-gradient(135deg, #f56df4, #F56D99);