Skip to content

#fc2fe3

a balanced, electric magenta / pink · warm · closest name: magenta

RGB
252, 47, 227
HSL
307°, 97%, 59%
CMYK
0, 81, 10, 1
Luminance
0.2827

Every format

HEX#fc2fe3
RGBrgb(252, 47, 227)
HSLhsl(307, 97%, 59%)
CMYKcmyk(0%, 81%, 10%, 1%)
LABlab(60.1 88.5 -45.5)
LCHlch(60.1 99.5 332.8)
OKLCHoklch(0.695 0.286 334.1)

Copy-ready code

/* CSS */
color: #fc2fe3;
background-color: #fc2fe3;
/* Tailwind (arbitrary) */
class="text-[#fc2fe3] bg-[#fc2fe3]"
/* SCSS */
$brand: #fc2fe3;
/* SwiftUI */
Color(red: 0.988, green: 0.184, blue: 0.890)
/* Android */
Color.parseColor("#fc2fe3")

Accessibility — WCAG contrast

Aa
#fc2fe3 on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#fc2fe3 on black: 6.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue89.0%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow9.9%
Key (black)1.2%

Color previews

#fc2fe3 text on a black background

contrast 6.65:1

Card sample

#fc2fe3 text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fc2fe3;
Background color
Panel with #fc2fe3 background
background-color: #fc2fe3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fc2fe3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(252, 47, 227, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 47, 227, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fc2fe3;
background: linear-gradient(135deg, #fc2fe3, #FC2F5A);

Monochromatic scale

Palettes built from #fc2fe3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2fe3 in the Color Lab