#f07cbf
a light, electric magenta / pink · warm · closest name: orchid
RGB
240, 124, 191
HSL
325°, 80%, 71%
CMYK
0, 48, 20, 6
Luminance
0.3670
Every format
| HEX | #f07cbf |
| RGB | rgb(240, 124, 191) |
| HSL | hsl(325, 80%, 71%) |
| CMYK | cmyk(0%, 48%, 20%, 6%) |
| LAB | lab(67.1 52.4 -14.7) |
| LCH | lch(67.1 54.4 344.3) |
| OKLCH | oklch(0.737 0.161 346.1) |
Copy-ready code
/* CSS */
color: #f07cbf;
background-color: #f07cbf;
/* Tailwind (arbitrary) */
class="text-[#f07cbf] bg-[#f07cbf]"
/* SCSS */
$brand: #f07cbf;
/* SwiftUI */
Color(red: 0.941, green: 0.486, blue: 0.749)
/* Android */
Color.parseColor("#f07cbf")Accessibility — WCAG contrast
Aa
#f07cbf on white: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f07cbf on black: 8.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green48.6%
Blue74.9%
CMYK percentages
Cyan0.0%
Magenta48.3%
Yellow20.4%
Key (black)5.9%
Color previews
#f07cbf text on a black background
contrast 8.34:1
Card sample
#f07cbf text on a white background
contrast 2.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f07cbf;
Background color
Panel with #f07cbf background
background-color: #f07cbf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f07cbf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 124, 191, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 124, 191, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f07cbf; background: linear-gradient(135deg, #f07cbf, #F0867C);