Skip to content

#db2c0f

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

RGB
219, 44, 15
HSL
9°, 87%, 46%
CMYK
0, 80, 93, 14
Luminance
0.1690

Every format

HEX#db2c0f
RGBrgb(219, 44, 15)
HSLhsl(9, 87%, 46%)
CMYKcmyk(0%, 80%, 93%, 14%)
LABlab(48.1 64.8 56.7)
LCHlch(48.1 86.1 41.2)
OKLCHoklch(0.578 0.213 31.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2c0f on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#db2c0f on black: 4.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green17.3%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta79.9%
Yellow93.2%
Key (black)14.1%

Color previews

#db2c0f text on a black background

contrast 4.38:1

Card sample

#db2c0f text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2c0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2c0f in the Color Lab