Skip to content

#fc0ce2

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

RGB
252, 12, 226
HSL
307°, 98%, 52%
CMYK
0, 95, 10, 1
Luminance
0.2645

Every format

HEX#fc0ce2
RGBrgb(252, 12, 226)
HSLhsl(307, 98%, 52%)
CMYKcmyk(0%, 95%, 10%, 1%)
LABlab(58.5 93.2 -47.6)
LCHlch(58.5 104.6 332.9)
OKLCHoklch(0.683 0.301 334.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc0ce2 on white: 3.34:1
AA ✗ fail · AA-large · AAA
Aa
#fc0ce2 on black: 6.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green4.7%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta95.2%
Yellow10.3%
Key (black)1.2%

Color previews

#fc0ce2 text on a black background

contrast 6.29:1

Card sample

#fc0ce2 text on a white background

contrast 3.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc0ce2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc0ce2 in the Color Lab