#ff7cf0
a light, electric magenta / pink · warm · closest name: violet
RGB
255, 124, 240
HSL
307°, 100%, 74%
CMYK
0, 51, 6, 0
Luminance
0.4197
Every format
| HEX | #ff7cf0 |
| RGB | rgb(255, 124, 240) |
| HSL | hsl(307, 100%, 74%) |
| CMYK | cmyk(0%, 51%, 6%, 0%) |
| LAB | lab(70.8 64.3 -36.0) |
| LCH | lch(70.8 73.7 330.8) |
| OKLCH | oklch(0.775 0.208 331.9) |
Copy-ready code
/* CSS */
color: #ff7cf0;
background-color: #ff7cf0;
/* Tailwind (arbitrary) */
class="text-[#ff7cf0] bg-[#ff7cf0]"
/* SCSS */
$brand: #ff7cf0;
/* SwiftUI */
Color(red: 1.000, green: 0.486, blue: 0.941)
/* Android */
Color.parseColor("#ff7cf0")Accessibility — WCAG contrast
Aa
#ff7cf0 on white: 2.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff7cf0 on black: 9.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green48.6%
Blue94.1%
CMYK percentages
Cyan0.0%
Magenta51.4%
Yellow5.9%
Key (black)0.0%
Color previews
#ff7cf0 text on a black background
contrast 9.39:1
Card sample
#ff7cf0 text on a white background
contrast 2.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff7cf0;
Background color
Panel with #ff7cf0 background
background-color: #ff7cf0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff7cf0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 124, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 124, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff7cf0; background: linear-gradient(135deg, #ff7cf0, #FF7C99);