#f07ab2
a light, electric magenta / pink · warm · closest name: plum
RGB
240, 122, 178
HSL
332°, 80%, 71%
CMYK
0, 49, 26, 6
Luminance
0.3566
Every format
| HEX | #f07ab2 |
| RGB | rgb(240, 122, 178) |
| HSL | hsl(332, 80%, 71%) |
| CMYK | cmyk(0%, 49%, 26%, 6%) |
| LAB | lab(66.3 51.5 -8.6) |
| LCH | lch(66.3 52.3 350.5) |
| OKLCH | oklch(0.730 0.157 351.9) |
Copy-ready code
/* CSS */
color: #f07ab2;
background-color: #f07ab2;
/* Tailwind (arbitrary) */
class="text-[#f07ab2] bg-[#f07ab2]"
/* SCSS */
$brand: #f07ab2;
/* SwiftUI */
Color(red: 0.941, green: 0.478, blue: 0.698)
/* Android */
Color.parseColor("#f07ab2")Accessibility — WCAG contrast
Aa
#f07ab2 on white: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f07ab2 on black: 8.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green47.8%
Blue69.8%
CMYK percentages
Cyan0.0%
Magenta49.2%
Yellow25.8%
Key (black)5.9%
Color previews
#f07ab2 text on a black background
contrast 8.13:1
Card sample
#f07ab2 text on a white background
contrast 2.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f07ab2;
Background color
Panel with #f07ab2 background
background-color: #f07ab2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f07ab2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 122, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 122, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f07ab2; background: linear-gradient(135deg, #f07ab2, #F0917A);