Skip to content

#db2cfd

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

RGB
219, 44, 253
HSL
290°, 98%, 58%
CMYK
13, 83, 0, 1
Luminance
0.2395

Every format

HEX#db2cfd
RGBrgb(219, 44, 253)
HSLhsl(290, 98%, 58%)
CMYKcmyk(13%, 83%, 0%, 1%)
LABlab(56.0 87.2 -66.9)
LCHlch(56.0 109.9 322.5)
OKLCHoklch(0.660 0.293 320.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2cfd on white: 3.63:1
AA ✗ fail · AA-large · AAA
Aa
#db2cfd on black: 5.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green17.3%
Blue99.2%

CMYK percentages

Cyan13.4%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#db2cfd text on a black background

contrast 5.79:1

Card sample

#db2cfd text on a white background

contrast 3.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2cfd in the Color Lab