Skip to content

#f17df3

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

RGB
241, 125, 243
HSL
299°, 83%, 72%
CMYK
1, 49, 0, 5
Luminance
0.3984

Every format

HEX#f17df3
RGBrgb(241, 125, 243)
HSLhsl(299, 83%, 72%)
CMYKcmyk(1%, 49%, 0%, 5%)
LABlab(69.4 60.5 -40.0)
LCHlch(69.4 72.5 326.5)
OKLCHoklch(0.761 0.200 326.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f17df3 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#f17df3 on black: 8.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green49.0%
Blue95.3%

CMYK percentages

Cyan0.8%
Magenta48.6%
Yellow0.0%
Key (black)4.7%

Color previews

#f17df3 text on a black background

contrast 8.97:1

Card sample

#f17df3 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f17df3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f17df3 in the Color Lab