#f25cff
a light, electric magenta / pink · warm · closest name: magenta
RGB
242, 92, 255
HSL
295°, 100%, 68%
CMYK
5, 64, 0, 0
Luminance
0.3375
Every format
| HEX | #f25cff |
| RGB | rgb(242, 92, 255) |
| HSL | hsl(295, 100%, 68%) |
| CMYK | cmyk(5%, 64%, 0%, 0%) |
| LAB | lab(64.8 77.2 -53.9) |
| LCH | lch(64.8 94.1 325.1) |
| OKLCH | oklch(0.729 0.257 324.5) |
Copy-ready code
/* CSS */
color: #f25cff;
background-color: #f25cff;
/* Tailwind (arbitrary) */
class="text-[#f25cff] bg-[#f25cff]"
/* SCSS */
$brand: #f25cff;
/* SwiftUI */
Color(red: 0.949, green: 0.361, blue: 1.000)
/* Android */
Color.parseColor("#f25cff")Accessibility — WCAG contrast
Aa
#f25cff on white: 2.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#f25cff on black: 7.75:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red94.9%
Green36.1%
Blue100.0%
CMYK percentages
Cyan5.1%
Magenta63.9%
Yellow0.0%
Key (black)0.0%
Color previews
#f25cff text on a black background
contrast 7.75:1
Card sample
#f25cff text on a white background
contrast 2.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #f25cff;
Background color
Panel with #f25cff background
background-color: #f25cff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #f25cff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(242, 92, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(242, 92, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f25cff; background: linear-gradient(135deg, #f25cff, #FF5C9F);