Skip to content

#fc9cfd

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

RGB
252, 156, 253
HSL
299°, 96%, 80%
CMYK
0, 38, 0, 1
Luminance
0.5156

Every format

HEX#fc9cfd
RGBrgb(252, 156, 253)
HSLhsl(299, 96%, 80%)
CMYKcmyk(0%, 38%, 0%, 1%)
LABlab(77.0 50.1 -33.5)
LCHlch(77.0 60.2 326.2)
OKLCHoklch(0.822 0.166 326.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc9cfd on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#fc9cfd on black: 11.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green61.2%
Blue99.2%

CMYK percentages

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

Color previews

#fc9cfd text on a black background

contrast 11.31:1

Card sample

#fc9cfd text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc9cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc9cfd in the Color Lab