Skip to content

#fc2cff

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

RGB
252, 44, 255
HSL
299°, 100%, 59%
CMYK
1, 83, 0, 0
Luminance
0.2972

Every format

HEX#fc2cff
RGBrgb(252, 44, 255)
HSLhsl(299, 100%, 59%)
CMYKcmyk(1%, 83%, 0%, 0%)
LABlab(61.4 93.1 -59.1)
LCHlch(61.4 110.3 327.6)
OKLCHoklch(0.708 0.306 327.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2cff on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#fc2cff on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.3%
Blue100.0%

CMYK percentages

Cyan1.2%
Magenta82.7%
Yellow0.0%
Key (black)0.0%

Color previews

#fc2cff text on a black background

contrast 6.94:1

Card sample

#fc2cff text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2cff in the Color Lab