Skip to content

#fc2dfc

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

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

Every format

HEX#fc2dfc
RGBrgb(252, 45, 252)
HSLhsl(300, 97%, 58%)
CMYKcmyk(0%, 82%, 0%, 1%)
LABlab(61.3 92.4 -57.6)
LCHlch(61.3 108.9 328.1)
OKLCHoklch(0.707 0.304 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#fc2dfc text on a black background

contrast 6.92:1

Card sample

#fc2dfc text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2dfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2dfc in the Color Lab