Skip to content

#f60afd

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

RGB
246, 10, 253
HSL
298°, 98%, 52%
CMYK
3, 96, 0, 1
Luminance
0.2690

Every format

HEX#f60afd
RGBrgb(246, 10, 253)
HSLhsl(298, 98%, 52%)
CMYKcmyk(3%, 96%, 0%, 1%)
LABlab(58.9 96.0 -62.1)
LCHlch(58.9 114.3 327.1)
OKLCHoklch(0.688 0.316 326.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f60afd on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#f60afd on black: 6.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green3.9%
Blue99.2%

CMYK percentages

Cyan2.8%
Magenta96.0%
Yellow0.0%
Key (black)0.8%

Color previews

#f60afd text on a black background

contrast 6.38:1

Card sample

#f60afd text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f60afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f60afd in the Color Lab