Skip to content

#fc2adf

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

RGB
252, 42, 223
HSL
308°, 97%, 58%
CMYK
0, 83, 12, 1
Luminance
0.2768

Every format

HEX#fc2adf
RGBrgb(252, 42, 223)
HSLhsl(308, 97%, 58%)
CMYKcmyk(0%, 83%, 12%, 1%)
LABlab(59.6 89.0 -44.1)
LCHlch(59.6 99.3 333.6)
OKLCHoklch(0.690 0.287 335.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2adf on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#fc2adf on black: 6.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green16.5%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta83.3%
Yellow11.5%
Key (black)1.2%

Color previews

#fc2adf text on a black background

contrast 6.54:1

Card sample

#fc2adf text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2adf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2adf in the Color Lab