Skip to content

#fc2cfd

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

RGB
252, 44, 253
HSL
300°, 98%, 58%
CMYK
0, 83, 0, 1
Luminance
0.2959

Every format

HEX#fc2cfd
RGBrgb(252, 44, 253)
HSLhsl(300, 98%, 58%)
CMYKcmyk(0%, 83%, 0%, 1%)
LABlab(61.3 92.8 -58.2)
LCHlch(61.3 109.5 327.9)
OKLCHoklch(0.707 0.305 328.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green17.3%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#fc2cfd text on a black background

contrast 6.92:1

Card sample

#fc2cfd text on a white background

contrast 3.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2cfd in the Color Lab