Skip to content

#f10afd

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

RGB
241, 10, 253
HSL
297°, 98%, 52%
CMYK
5, 96, 0, 1
Luminance
0.2601

Every format

HEX#f10afd
RGBrgb(241, 10, 253)
HSLhsl(297, 98%, 52%)
CMYKcmyk(5%, 96%, 0%, 1%)
LABlab(58.0 95.2 -63.5)
LCHlch(58.0 114.5 326.3)
OKLCHoklch(0.681 0.315 325.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f10afd on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#f10afd on black: 6.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green3.9%
Blue99.2%

CMYK percentages

Cyan4.7%
Magenta96.0%
Yellow0.0%
Key (black)0.8%

Color previews

#f10afd text on a black background

contrast 6.20:1

Card sample

#f10afd text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f10afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f10afd in the Color Lab