Skip to content

#f16dfb

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

RGB
241, 109, 251
HSL
296°, 95%, 71%
CMYK
4, 57, 0, 2
Luminance
0.3660

Every format

HEX#f16dfb
RGBrgb(241, 109, 251)
HSLhsl(296, 95%, 71%)
CMYKcmyk(4%, 57%, 0%, 2%)
LABlab(67.0 69.2 -48.2)
LCHlch(67.0 84.3 325.2)
OKLCHoklch(0.745 0.231 324.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f16dfb on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#f16dfb on black: 8.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green42.7%
Blue98.4%

CMYK percentages

Cyan4.0%
Magenta56.6%
Yellow0.0%
Key (black)1.6%

Color previews

#f16dfb text on a black background

contrast 8.32:1

Card sample

#f16dfb text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f16dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f16dfb in the Color Lab