Skip to content

#db289f

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

RGB
219, 40, 159
HSL
320°, 71%, 51%
CMYK
0, 82, 27, 14
Luminance
0.1908

Every format

HEX#db289f
RGBrgb(219, 40, 159)
HSLhsl(320, 71%, 51%)
CMYKcmyk(0%, 82%, 27%, 14%)
LABlab(50.8 74.7 -21.3)
LCHlch(50.8 77.7 344.1)
OKLCHoklch(0.607 0.234 346.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db289f on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#db289f on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green15.7%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta81.7%
Yellow27.4%
Key (black)14.1%

Color previews

#db289f text on a black background

contrast 4.82:1

Card sample

#db289f text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db289f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db289f in the Color Lab