Skip to content

#fc2acf

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

RGB
252, 42, 207
HSL
313°, 97%, 58%
CMYK
0, 83, 18, 1
Luminance
0.2686

Every format

HEX#fc2acf
RGBrgb(252, 42, 207)
HSLhsl(313, 97%, 58%)
CMYKcmyk(0%, 83%, 18%, 1%)
LABlab(58.9 87.0 -36.2)
LCHlch(58.9 94.2 337.4)
OKLCHoklch(0.682 0.277 339.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2acf on white: 3.30:1
AA ✗ fail · AA-large · AAA
Aa
#fc2acf on black: 6.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green16.5%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta83.3%
Yellow17.9%
Key (black)1.2%

Color previews

#fc2acf text on a black background

contrast 6.37:1

Card sample

#fc2acf text on a white background

contrast 3.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2acf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2acf in the Color Lab