#f261cf
a light, electric magenta / pink · warm · closest name: orchid
RGB
242, 97, 207
HSL
315°, 85%, 67%
CMYK
0, 60, 15, 5
Luminance
0.3193
Every format
| HEX | #f261cf |
| RGB | rgb(242, 97, 207) |
| HSL | hsl(315, 85%, 67%) |
| CMYK | cmyk(0%, 60%, 15%, 5%) |
| LAB | lab(63.3 67.6 -29.4) |
| LCH | lch(63.3 73.7 336.5) |
| OKLCH | oklch(0.712 0.214 338.2) |
Copy-ready code
/* CSS */
color: #f261cf;
background-color: #f261cf;
/* Tailwind (arbitrary) */
class="text-[#f261cf] bg-[#f261cf]"
/* SCSS */
$brand: #f261cf;
/* SwiftUI */
Color(red: 0.949, green: 0.380, blue: 0.812)
/* Android */
Color.parseColor("#f261cf")Accessibility — WCAG contrast
Aa
#f261cf on white: 2.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f261cf on black: 7.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green38.0%
Blue81.2%
CMYK percentages
Cyan0.0%
Magenta59.9%
Yellow14.5%
Key (black)5.1%
Color previews
#f261cf text on a black background
contrast 7.39:1
Card sample
#f261cf text on a white background
contrast 2.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f261cf;
Background color
Panel with #f261cf background
background-color: #f261cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f261cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 97, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 97, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f261cf; background: linear-gradient(135deg, #f261cf, #F2616E);