Skip to content

#fc2cfc

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

RGB
252, 44, 252
HSL
300°, 97%, 58%
CMYK
0, 83, 0, 1
Luminance
0.2953

Every format

HEX#fc2cfc
RGBrgb(252, 44, 252)
HSLhsl(300, 97%, 58%)
CMYKcmyk(0%, 83%, 0%, 1%)
LABlab(61.3 92.6 -57.7)
LCHlch(61.3 109.2 328.1)
OKLCHoklch(0.707 0.304 328.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green17.3%
Blue98.8%

CMYK percentages

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

Color previews

#fc2cfc text on a black background

contrast 6.91:1

Card sample

#fc2cfc text on a white background

contrast 3.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2cfc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2cfc in the Color Lab