Skip to content

#da0dfb

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

RGB
218, 13, 251
HSL
292°, 97%, 52%
CMYK
13, 95, 0, 2
Luminance
0.2216

Every format

HEX#da0dfb
RGBrgb(218, 13, 251)
HSLhsl(292, 97%, 52%)
CMYKcmyk(13%, 95%, 0%, 2%)
LABlab(54.2 91.3 -68.8)
LCHlch(54.2 114.3 323.0)
OKLCHoklch(0.647 0.305 320.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#da0dfb on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#da0dfb on black: 5.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green5.1%
Blue98.4%

CMYK percentages

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

Color previews

#da0dfb text on a black background

contrast 5.43:1

Card sample

#da0dfb text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #da0dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #da0dfb in the Color Lab