Skip to content

#fc18eb

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

RGB
252, 24, 235
HSL
305°, 97%, 54%
CMYK
0, 91, 7, 1
Luminance
0.2735

Every format

HEX#fc18eb
RGBrgb(252, 24, 235)
HSLhsl(305, 97%, 54%)
CMYKcmyk(0%, 91%, 7%, 1%)
LABlab(59.3 93.3 -51.4)
LCHlch(59.3 106.5 331.2)
OKLCHoklch(0.690 0.303 332.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc18eb on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#fc18eb on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green9.4%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta90.5%
Yellow6.7%
Key (black)1.2%

Color previews

#fc18eb text on a black background

contrast 6.47:1

Card sample

#fc18eb text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc18eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc18eb in the Color Lab