#f080ab
a light, electric magenta / pink · warm · closest name: plum
RGB
240, 128, 171
HSL
337°, 79%, 72%
CMYK
0, 47, 29, 6
Luminance
0.3690
Every format
| HEX | #f080ab |
| RGB | rgb(240, 128, 171) |
| HSL | hsl(337, 79%, 72%) |
| CMYK | cmyk(0%, 47%, 29%, 6%) |
| LAB | lab(67.2 47.7 -3.2) |
| LCH | lch(67.2 47.8 356.1) |
| OKLCH | oklch(0.736 0.144 356.9) |
Copy-ready code
/* CSS */
color: #f080ab;
background-color: #f080ab;
/* Tailwind (arbitrary) */
class="text-[#f080ab] bg-[#f080ab]"
/* SCSS */
$brand: #f080ab;
/* SwiftUI */
Color(red: 0.941, green: 0.502, blue: 0.671)
/* Android */
Color.parseColor("#f080ab")Accessibility — WCAG contrast
Aa
#f080ab on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f080ab on black: 8.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green50.2%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta46.7%
Yellow28.8%
Key (black)5.9%
Color previews
#f080ab text on a black background
contrast 8.38:1
Card sample
#f080ab text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f080ab;
Background color
Panel with #f080ab background
background-color: #f080ab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f080ab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 128, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 128, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f080ab; background: linear-gradient(135deg, #f080ab, #F0A080);