Skip to content

#fc2fd1

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

RGB
252, 47, 209
HSL
313°, 97%, 59%
CMYK
0, 81, 17, 1
Luminance
0.2733

Every format

HEX#fc2fd1
RGBrgb(252, 47, 209)
HSLhsl(313, 97%, 59%)
CMYKcmyk(0%, 81%, 17%, 1%)
LABlab(59.3 86.2 -36.7)
LCHlch(59.3 93.7 336.9)
OKLCHoklch(0.686 0.275 338.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2fd1 on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#fc2fd1 on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green18.4%
Blue82.0%

CMYK percentages

Cyan0.0%
Magenta81.3%
Yellow17.1%
Key (black)1.2%

Color previews

#fc2fd1 text on a black background

contrast 6.47:1

Card sample

#fc2fd1 text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2fd1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2fd1 in the Color Lab