#fc2cef
a balanced, electric magenta / pink · warm · closest name: magenta
RGB
252, 44, 239
HSL
304°, 97%, 58%
CMYK
0, 83, 5, 1
Luminance
0.2873
Every format
| HEX | #fc2cef |
| RGB | rgb(252, 44, 239) |
| HSL | hsl(304, 97%, 58%) |
| CMYK | cmyk(0%, 83%, 5%, 1%) |
| LAB | lab(60.5 90.8 -51.6) |
| LCH | lch(60.5 104.4 330.4) |
| OKLCH | oklch(0.700 0.296 331.2) |
Copy-ready code
/* CSS */
color: #fc2cef;
background-color: #fc2cef;
/* Tailwind (arbitrary) */
class="text-[#fc2cef] bg-[#fc2cef]"
/* SCSS */
$brand: #fc2cef;
/* SwiftUI */
Color(red: 0.988, green: 0.173, blue: 0.937)
/* Android */
Color.parseColor("#fc2cef")Accessibility — WCAG contrast
Aa
#fc2cef on white: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#fc2cef on black: 6.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red98.8%
Green17.3%
Blue93.7%
CMYK percentages
Cyan0.0%
Magenta82.5%
Yellow5.2%
Key (black)1.2%
Color previews
#fc2cef text on a black background
contrast 6.75:1
Card sample
#fc2cef text on a white background
contrast 3.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #fc2cef;
Background color
Panel with #fc2cef background
background-color: #fc2cef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #fc2cef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(252, 44, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 44, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fc2cef; background: linear-gradient(135deg, #fc2cef, #FC2C64);