Skip to content

#fc2feb

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

RGB
252, 47, 235
HSL
305°, 97%, 59%
CMYK
0, 81, 7, 1
Luminance
0.2873

Every format

HEX#fc2feb
RGBrgb(252, 47, 235)
HSLhsl(305, 97%, 59%)
CMYKcmyk(0%, 81%, 7%, 1%)
LABlab(60.5 89.6 -49.4)
LCHlch(60.5 102.3 331.2)
OKLCHoklch(0.699 0.291 332.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2feb on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#fc2feb on black: 6.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow6.7%
Key (black)1.2%

Color previews

#fc2feb text on a black background

contrast 6.75:1

Card sample

#fc2feb text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2feb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2feb in the Color Lab