Skip to content

#fc2ae2

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

RGB
252, 42, 226
HSL
307°, 97%, 58%
CMYK
0, 83, 10, 1
Luminance
0.2784

Every format

HEX#fc2ae2
RGBrgb(252, 42, 226)
HSLhsl(307, 97%, 58%)
CMYKcmyk(0%, 83%, 10%, 1%)
LABlab(59.8 89.4 -45.6)
LCHlch(59.8 100.3 333.0)
OKLCHoklch(0.692 0.289 334.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2ae2 on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#fc2ae2 on black: 6.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green16.5%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta83.3%
Yellow10.3%
Key (black)1.2%

Color previews

#fc2ae2 text on a black background

contrast 6.57:1

Card sample

#fc2ae2 text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2ae2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2ae2 in the Color Lab