Skip to content

#db2c2f

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

RGB
219, 44, 47
HSL
359°, 71%, 52%
CMYK
0, 80, 79, 14
Luminance
0.1707

Every format

HEX#db2c2f
RGBrgb(219, 44, 47)
HSLhsl(359, 71%, 52%)
CMYKcmyk(0%, 80%, 79%, 14%)
LABlab(48.4 65.4 42.5)
LCHlch(48.4 78.0 33.0)
OKLCHoklch(0.580 0.210 26.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#db2c2f on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#db2c2f on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.9%
Green17.3%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta79.9%
Yellow78.5%
Key (black)14.1%

Color previews

#db2c2f text on a black background

contrast 4.41:1

Card sample

#db2c2f text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2c2f in the Color Lab