Skip to content

#f16cf2

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

RGB
241, 108, 242
HSL
300°, 84%, 69%
CMYK
0, 55, 0, 5
Luminance
0.3584

Every format

HEX#f16cf2
RGBrgb(241, 108, 242)
HSLhsl(300, 84%, 69%)
CMYKcmyk(0%, 55%, 0%, 5%)
LABlab(66.4 68.1 -44.1)
LCHlch(66.4 81.2 327.1)
OKLCHoklch(0.739 0.225 327.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f16cf2 on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#f16cf2 on black: 8.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green42.4%
Blue94.9%

CMYK percentages

Cyan0.4%
Magenta55.4%
Yellow0.0%
Key (black)5.1%

Color previews

#f16cf2 text on a black background

contrast 8.17:1

Card sample

#f16cf2 text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f16cf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f16cf2 in the Color Lab