Skip to content

#db2f02

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

RGB
219, 47, 2
HSL
12°, 98%, 43%
CMYK
0, 79, 99, 14
Luminance
0.1710

Every format

HEX#db2f02
RGBrgb(219, 47, 2)
HSLhsl(12, 98%, 43%)
CMYKcmyk(0%, 79%, 99%, 14%)
LABlab(48.4 63.8 60.4)
LCHlch(48.4 87.9 43.4)
OKLCHoklch(0.580 0.212 33.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2f02 on white: 4.75:1
AA ✓ pass · AA-large · AAA
Aa
#db2f02 on black: 4.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green18.4%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta78.5%
Yellow99.1%
Key (black)14.1%

Color previews

#db2f02 text on a black background

contrast 4.42:1

Card sample

#db2f02 text on a white background

contrast 4.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2f02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2f02 in the Color Lab