Skip to content

#fc2ce2

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

RGB
252, 44, 226
HSL
308°, 97%, 58%
CMYK
0, 83, 10, 1
Luminance
0.2799

Every format

HEX#fc2ce2
RGBrgb(252, 44, 226)
HSLhsl(308, 97%, 58%)
CMYKcmyk(0%, 83%, 10%, 1%)
LABlab(59.9 89.0 -45.4)
LCHlch(59.9 99.9 333.0)
OKLCHoklch(0.693 0.288 334.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2ce2 on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#fc2ce2 on black: 6.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.3%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta82.5%
Yellow10.3%
Key (black)1.2%

Color previews

#fc2ce2 text on a black background

contrast 6.60:1

Card sample

#fc2ce2 text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2ce2 in the Color Lab