Skip to content

#fc02cf

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

RGB
252, 2, 207
HSL
311°, 98%, 50%
CMYK
0, 99, 18, 1
Luminance
0.2524

Every format

HEX#fc02cf
RGBrgb(252, 2, 207)
HSLhsl(311, 98%, 50%)
CMYKcmyk(0%, 99%, 18%, 1%)
LABlab(57.3 91.4 -38.6)
LCHlch(57.3 99.3 337.1)
OKLCHoklch(0.671 0.292 339.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc02cf on white: 3.47:1
AA ✗ fail · AA-large · AAA
Aa
#fc02cf on black: 6.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green0.8%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta99.2%
Yellow17.9%
Key (black)1.2%

Color previews

#fc02cf text on a black background

contrast 6.05:1

Card sample

#fc02cf text on a white background

contrast 3.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc02cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc02cf in the Color Lab