#f075cf
a light, electric magenta / pink · warm · closest name: orchid
RGB
240, 117, 207
HSL
316°, 80%, 70%
CMYK
0, 51, 14, 6
Luminance
0.3575
Every format
| HEX | #f075cf |
| RGB | rgb(240, 117, 207) |
| HSL | hsl(316, 80%, 70%) |
| CMYK | cmyk(0%, 51%, 14%, 6%) |
| LAB | lab(66.3 58.1 -24.8) |
| LCH | lch(66.3 63.2 336.9) |
| OKLCH | oklch(0.733 0.183 338.7) |
Copy-ready code
/* CSS */
color: #f075cf;
background-color: #f075cf;
/* Tailwind (arbitrary) */
class="text-[#f075cf] bg-[#f075cf]"
/* SCSS */
$brand: #f075cf;
/* SwiftUI */
Color(red: 0.941, green: 0.459, blue: 0.812)
/* Android */
Color.parseColor("#f075cf")Accessibility — WCAG contrast
Aa
#f075cf on white: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f075cf on black: 8.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green45.9%
Blue81.2%
CMYK percentages
Cyan0.0%
Magenta51.3%
Yellow13.7%
Key (black)5.9%
Color previews
#f075cf text on a black background
contrast 8.15:1
Card sample
#f075cf text on a white background
contrast 2.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f075cf;
Background color
Panel with #f075cf background
background-color: #f075cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f075cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 117, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 117, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f075cf; background: linear-gradient(135deg, #f075cf, #F0757D);