Skip to content

#fc2ffb

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

RGB
252, 47, 251
HSL
300°, 97%, 59%
CMYK
0, 81, 0, 1
Luminance
0.2969

Every format

HEX#fc2ffb
RGBrgb(252, 47, 251)
HSLhsl(300, 97%, 59%)
CMYKcmyk(0%, 81%, 0%, 1%)
LABlab(61.4 91.9 -56.9)
LCHlch(61.4 108.1 328.2)
OKLCHoklch(0.708 0.302 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2ffb on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#fc2ffb on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow0.4%
Key (black)1.2%

Color previews

#fc2ffb text on a black background

contrast 6.94:1

Card sample

#fc2ffb text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2ffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2ffb in the Color Lab