Skip to content

#fc92fd

a light, electric magenta / pink · warm · closest name: violet

RGB
252, 146, 253
HSL
299°, 96%, 78%
CMYK
0, 42, 0, 1
Luminance
0.4835

Every format

HEX#fc92fd
RGBrgb(252, 146, 253)
HSLhsl(299, 96%, 78%)
CMYKcmyk(0%, 42%, 0%, 1%)
LABlab(75.0 55.1 -36.6)
LCHlch(75.0 66.1 326.4)
OKLCHoklch(0.807 0.182 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc92fd on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#fc92fd on black: 10.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green57.3%
Blue99.2%

CMYK percentages

Cyan0.4%
Magenta42.3%
Yellow0.0%
Key (black)0.8%

Color previews

#fc92fd text on a black background

contrast 10.67:1

Card sample

#fc92fd text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc92fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc92fd in the Color Lab