Skip to content

#fc23fc

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

RGB
252, 35, 252
HSL
300°, 97%, 56%
CMYK
0, 86, 0, 1
Luminance
0.2893

Every format

HEX#fc23fc
RGBrgb(252, 35, 252)
HSLhsl(300, 97%, 56%)
CMYKcmyk(0%, 86%, 0%, 1%)
LABlab(60.7 94.2 -58.6)
LCHlch(60.7 110.9 328.1)
OKLCHoklch(0.703 0.309 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc23fc on white: 3.09:1
AA ✗ fail · AA-large · AAA
Aa
#fc23fc on black: 6.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green13.7%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta86.1%
Yellow0.0%
Key (black)1.2%

Color previews

#fc23fc text on a black background

contrast 6.79:1

Card sample

#fc23fc text on a white background

contrast 3.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc23fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc23fc in the Color Lab