Skip to content

#db4d2f

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

RGB
219, 77, 47
HSL
11°, 71%, 52%
CMYK
0, 65, 79, 14
Luminance
0.2057

Every format

HEX#db4d2f
RGBrgb(219, 77, 47)
HSLhsl(11, 71%, 52%)
CMYKcmyk(0%, 65%, 79%, 14%)
LABlab(52.5 54.0 46.7)
LCHlch(52.5 71.4 40.8)
OKLCHoklch(0.611 0.183 33.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db4d2f on white: 4.11:1
AA ✗ fail · AA-large · AAA
Aa
#db4d2f on black: 5.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green30.2%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta64.8%
Yellow78.5%
Key (black)14.1%

Color previews

#db4d2f text on a black background

contrast 5.11:1

Card sample

#db4d2f text on a white background

contrast 4.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db4d2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db4d2f in the Color Lab