#f061cf
a light, electric magenta / pink · warm · closest name: orchid
RGB
240, 97, 207
HSL
314°, 83%, 66%
CMYK
0, 60, 14, 6
Luminance
0.3158
Every format
| HEX | #f061cf |
| RGB | rgb(240, 97, 207) |
| HSL | hsl(314, 83%, 66%) |
| CMYK | cmyk(0%, 60%, 14%, 6%) |
| LAB | lab(63.0 67.0 -29.9) |
| LCH | lch(63.0 73.4 335.9) |
| OKLCH | oklch(0.709 0.213 337.7) |
Copy-ready code
/* CSS */
color: #f061cf;
background-color: #f061cf;
/* Tailwind (arbitrary) */
class="text-[#f061cf] bg-[#f061cf]"
/* SCSS */
$brand: #f061cf;
/* SwiftUI */
Color(red: 0.941, green: 0.380, blue: 0.812)
/* Android */
Color.parseColor("#f061cf")Accessibility — WCAG contrast
Aa
#f061cf on white: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f061cf on black: 7.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.1%
Green38.0%
Blue81.2%
CMYK percentages
Cyan0.0%
Magenta59.6%
Yellow13.7%
Key (black)5.9%
Color previews
#f061cf text on a black background
contrast 7.32:1
Card sample
#f061cf text on a white background
contrast 2.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f061cf;
Background color
Panel with #f061cf background
background-color: #f061cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f061cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(240, 97, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 97, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f061cf; background: linear-gradient(135deg, #f061cf, #F06170);