Skip to content

#f90dfb

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

RGB
249, 13, 251
HSL
300°, 97%, 52%
CMYK
1, 95, 0, 2
Luminance
0.2739

Every format

HEX#f90dfb
RGBrgb(249, 13, 251)
HSLhsl(300, 97%, 52%)
CMYKcmyk(1%, 95%, 0%, 2%)
LABlab(59.3 96.0 -60.2)
LCHlch(59.3 113.3 327.9)
OKLCHoklch(0.692 0.315 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f90dfb on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#f90dfb on black: 6.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green5.1%
Blue98.4%

CMYK percentages

Cyan0.8%
Magenta94.8%
Yellow0.0%
Key (black)1.6%

Color previews

#f90dfb text on a black background

contrast 6.48:1

Card sample

#f90dfb text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f90dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f90dfb in the Color Lab