Skip to content

#db2f0d

a balanced, electric red · warm · closest name: tomato

RGB
219, 47, 13
HSL
10°, 89%, 46%
CMYK
0, 79, 94, 14
Luminance
0.1712

Every format

HEX#db2f0d
RGBrgb(219, 47, 13)
HSLhsl(10, 89%, 46%)
CMYKcmyk(0%, 79%, 94%, 14%)
LABlab(48.4 63.9 57.5)
LCHlch(48.4 86.0 42.0)
OKLCHoklch(0.580 0.211 32.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green18.4%
Blue5.1%

CMYK percentages

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

Color previews

#db2f0d text on a black background

contrast 4.42:1

Card sample

#db2f0d text on a white background

contrast 4.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2f0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2f0d in the Color Lab