Skip to content

#fd0afb

a balanced, electric magenta / pink · warm · “magenta”

RGB
253, 10, 251
HSL
301°, 98%, 52%
CMYK
0, 96, 1, 1
Luminance
0.2806

Every format

HEX#fd0afb
RGBrgb(253, 10, 251)
HSLhsl(301, 98%, 52%)
CMYKcmyk(0%, 96%, 1%, 1%)
LABlab(60.0 96.8 -59.2)
LCHlch(60.0 113.5 328.5)
OKLCHoklch(0.698 0.318 328.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd0afb on white: 3.18:1
AA ✗ fail · AA-large · AAA
Aa
#fd0afb on black: 6.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green3.9%
Blue98.4%

CMYK percentages

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

Color previews

#fd0afb text on a black background

contrast 6.61:1

Card sample

#fd0afb text on a white background

contrast 3.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fd0afb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd0afb in the Color Lab