#ff7cdc
a light, electric magenta / pink · warm · closest name: violet
RGB
255, 124, 220
HSL
316°, 100%, 74%
CMYK
0, 51, 14, 0
Luminance
0.4084
Every format
| HEX | #ff7cdc |
| RGB | rgb(255, 124, 220) |
| HSL | hsl(316, 100%, 74%) |
| CMYK | cmyk(0%, 51%, 14%, 0%) |
| LAB | lab(70.1 61.2 -26.1) |
| LCH | lch(70.1 66.5 336.9) |
| OKLCH | oklch(0.767 0.193 338.6) |
Copy-ready code
/* CSS */
color: #ff7cdc;
background-color: #ff7cdc;
/* Tailwind (arbitrary) */
class="text-[#ff7cdc] bg-[#ff7cdc]"
/* SCSS */
$brand: #ff7cdc;
/* SwiftUI */
Color(red: 1.000, green: 0.486, blue: 0.863)
/* Android */
Color.parseColor("#ff7cdc")Accessibility — WCAG contrast
Aa
#ff7cdc on white: 2.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ff7cdc on black: 9.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green48.6%
Blue86.3%
CMYK percentages
Cyan0.0%
Magenta51.4%
Yellow13.7%
Key (black)0.0%
Color previews
#ff7cdc text on a black background
contrast 9.17:1
Card sample
#ff7cdc text on a white background
contrast 2.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff7cdc;
Background color
Panel with #ff7cdc background
background-color: #ff7cdc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff7cdc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 124, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 124, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff7cdc; background: linear-gradient(135deg, #ff7cdc, #FF7C85);