Skip to content

#f17df0

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

RGB
241, 125, 240
HSL
301°, 81%, 72%
CMYK
0, 48, 0, 6
Luminance
0.3966

Every format

HEX#f17df0
RGBrgb(241, 125, 240)
HSLhsl(301, 81%, 72%)
CMYKcmyk(0%, 48%, 0%, 6%)
LABlab(69.2 60.0 -38.6)
LCHlch(69.2 71.3 327.2)
OKLCHoklch(0.759 0.198 327.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f17df0 on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#f17df0 on black: 8.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green49.0%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta48.1%
Yellow0.4%
Key (black)5.5%

Color previews

#f17df0 text on a black background

contrast 8.93:1

Card sample

#f17df0 text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f17df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f17df0 in the Color Lab