Skip to content

#d50dfb

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

RGB
213, 13, 251
HSL
290°, 97%, 52%
CMYK
15, 95, 0, 2
Luminance
0.2140

Every format

HEX#d50dfb
RGBrgb(213, 13, 251)
HSLhsl(290, 97%, 52%)
CMYKcmyk(15%, 95%, 0%, 2%)
LABlab(53.4 90.6 -70.1)
LCHlch(53.4 114.6 322.3)
OKLCHoklch(0.639 0.304 319.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d50dfb on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#d50dfb on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.5%
Green5.1%
Blue98.4%

CMYK percentages

Cyan15.1%
Magenta94.8%
Yellow0.0%
Key (black)1.6%

Color previews

#d50dfb text on a black background

contrast 5.28:1

Card sample

#d50dfb text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d50dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d50dfb in the Color Lab