Skip to content

#db0213

a dark, electric red · warm · closest name: red

RGB
219, 2, 19
HSL
355°, 98%, 43%
CMYK
0, 99, 91, 14
Luminance
0.1515

Every format

HEX#db0213
RGBrgb(219, 2, 19)
HSLhsl(355, 98%, 43%)
CMYKcmyk(0%, 99%, 91%, 14%)
LABlab(45.9 71.4 53.9)
LCHlch(45.9 89.5 37.0)
OKLCHoklch(0.561 0.228 27.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db0213 on white: 5.21:1
AA ✓ pass · AA-large · AAA
Aa
#db0213 on black: 4.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green0.8%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta99.1%
Yellow91.3%
Key (black)14.1%

Color previews

#db0213 text on a black background

contrast 4.03:1

Card sample

#db0213 text on a white background

contrast 5.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db0213

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db0213 in the Color Lab