Skip to content

#fc2dfb

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

RGB
252, 45, 251
HSL
300°, 97%, 58%
CMYK
0, 82, 0, 1
Luminance
0.2954

Every format

HEX#fc2dfb
RGBrgb(252, 45, 251)
HSLhsl(300, 97%, 58%)
CMYKcmyk(0%, 82%, 0%, 1%)
LABlab(61.3 92.3 -57.1)
LCHlch(61.3 108.6 328.2)
OKLCHoklch(0.707 0.303 328.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2dfb on white: 3.04:1
AA ✗ fail · AA-large · AAA
Aa
#fc2dfb on black: 6.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.6%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow0.4%
Key (black)1.2%

Color previews

#fc2dfb text on a black background

contrast 6.91:1

Card sample

#fc2dfb text on a white background

contrast 3.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2dfb in the Color Lab