Skip to content

#f10dfd

a balanced, electric magenta / pink · warm · closest name: magenta

RGB
241, 13, 253
HSL
297°, 98%, 52%
CMYK
5, 95, 0, 1
Luminance
0.2608

Every format

HEX#f10dfd
RGBrgb(241, 13, 253)
HSLhsl(297, 98%, 52%)
CMYKcmyk(5%, 95%, 0%, 1%)
LABlab(58.1 95.0 -63.4)
LCHlch(58.1 114.2 326.3)
OKLCHoklch(0.681 0.314 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f10dfd on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#f10dfd on black: 6.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green5.1%
Blue99.2%

CMYK percentages

Cyan4.7%
Magenta94.9%
Yellow0.0%
Key (black)0.8%

Color previews

#f10dfd text on a black background

contrast 6.22:1

Card sample

#f10dfd text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f10dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f10dfd in the Color Lab