Skip to content

#fc2dcf

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

RGB
252, 45, 207
HSL
313°, 97%, 58%
CMYK
0, 82, 18, 1
Luminance
0.2708

Every format

HEX#fc2dcf
RGBrgb(252, 45, 207)
HSLhsl(313, 97%, 58%)
CMYKcmyk(0%, 82%, 18%, 1%)
LABlab(59.0 86.3 -35.9)
LCHlch(59.0 93.5 337.4)
OKLCHoklch(0.684 0.275 339.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc2dcf on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#fc2dcf on black: 6.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green17.6%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta82.1%
Yellow17.9%
Key (black)1.2%

Color previews

#fc2dcf text on a black background

contrast 6.42:1

Card sample

#fc2dcf text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc2dcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc2dcf in the Color Lab