Skip to content

#db2fd6

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

RGB
219, 47, 214
HSL
302°, 71%, 52%
CMYK
0, 79, 2, 14
Luminance
0.2195

Every format

HEX#db2fd6
RGBrgb(219, 47, 214)
HSLhsl(302, 71%, 52%)
CMYKcmyk(0%, 79%, 2%, 14%)
LABlab(54.0 80.3 -48.3)
LCHlch(54.0 93.7 329.0)
OKLCHoklch(0.638 0.263 329.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2fd6 on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#db2fd6 on black: 5.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green18.4%
Blue83.9%

CMYK percentages

Cyan0.0%
Magenta78.5%
Yellow2.3%
Key (black)14.1%

Color previews

#db2fd6 text on a black background

contrast 5.39:1

Card sample

#db2fd6 text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2fd6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2fd6 in the Color Lab