Skip to content

#fc2dcd

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

RGB
252, 45, 205
HSL
314°, 97%, 58%
CMYK
0, 82, 19, 1
Luminance
0.2698

Every format

HEX#fc2dcd
RGBrgb(252, 45, 205)
HSLhsl(314, 97%, 58%)
CMYKcmyk(0%, 82%, 19%, 1%)
LABlab(59.0 86.1 -34.9)
LCHlch(59.0 92.9 337.9)
OKLCHoklch(0.683 0.274 339.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2dcd on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#fc2dcd on black: 6.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.6%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow18.7%
Key (black)1.2%

Color previews

#fc2dcd text on a black background

contrast 6.40:1

Card sample

#fc2dcd text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2dcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2dcd in the Color Lab