Skip to content

#db2ddf

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

RGB
219, 45, 223
HSL
299°, 74%, 53%
CMYK
2, 80, 0, 13
Luminance
0.2226

Every format

HEX#db2ddf
RGBrgb(219, 45, 223)
HSLhsl(299, 74%, 53%)
CMYKcmyk(2%, 80%, 0%, 13%)
LABlab(54.3 82.2 -52.9)
LCHlch(54.3 97.7 327.2)
OKLCHoklch(0.642 0.271 327.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2ddf on white: 3.85:1
AA ✗ fail · AA-large · AAA
Aa
#db2ddf on black: 5.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green17.6%
Blue87.5%

CMYK percentages

Cyan1.8%
Magenta79.8%
Yellow0.0%
Key (black)12.5%

Color previews

#db2ddf text on a black background

contrast 5.45:1

Card sample

#db2ddf text on a white background

contrast 3.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2ddf in the Color Lab