Skip to content

#fc23ff

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

RGB
252, 35, 255
HSL
299°, 100%, 57%
CMYK
1, 86, 0, 0
Luminance
0.2912

Every format

HEX#fc23ff
RGBrgb(252, 35, 255)
HSLhsl(299, 100%, 57%)
CMYKcmyk(1%, 86%, 0%, 0%)
LABlab(60.9 94.6 -60.0)
LCHlch(60.9 112.0 327.6)
OKLCHoklch(0.705 0.311 327.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc23ff on white: 3.08:1
AA ✗ fail · AA-large · AAA
Aa
#fc23ff on black: 6.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green13.7%
Blue100.0%

CMYK percentages

Cyan1.2%
Magenta86.3%
Yellow0.0%
Key (black)0.0%

Color previews

#fc23ff text on a black background

contrast 6.82:1

Card sample

#fc23ff text on a white background

contrast 3.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc23ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc23ff in the Color Lab