Skip to content

#fc6dfb

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

RGB
252, 109, 251
HSL
300°, 96%, 71%
CMYK
0, 57, 0, 1
Luminance
0.3860

Every format

HEX#fc6dfb
RGBrgb(252, 109, 251)
HSLhsl(300, 96%, 71%)
CMYKcmyk(0%, 57%, 0%, 1%)
LABlab(68.5 72.0 -45.7)
LCHlch(68.5 85.3 327.6)
OKLCHoklch(0.758 0.237 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fc6dfb on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#fc6dfb on black: 8.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green42.7%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta56.7%
Yellow0.4%
Key (black)1.2%

Color previews

#fc6dfb text on a black background

contrast 8.72:1

Card sample

#fc6dfb text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fc6dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fc6dfb in the Color Lab