Skip to content

#fc02f2

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

RGB
252, 2, 242
HSL
302°, 98%, 50%
CMYK
0, 99, 4, 1
Luminance
0.2715

Every format

HEX#fc02f2
RGBrgb(252, 2, 242)
HSLhsl(302, 98%, 50%)
CMYKcmyk(0%, 99%, 4%, 1%)
LABlab(59.1 95.9 -55.5)
LCHlch(59.1 110.8 329.9)
OKLCHoklch(0.690 0.313 330.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green0.8%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta99.2%
Yellow4.0%
Key (black)1.2%

Color previews

#fc02f2 text on a black background

contrast 6.43:1

Card sample

#fc02f2 text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc02f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc02f2 in the Color Lab