Skip to content

#db2c2c

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

RGB
219, 44, 44
HSL
0°, 71%, 52%
CMYK
0, 80, 80, 14
Luminance
0.1704

Every format

HEX#db2c2c
RGBrgb(219, 44, 44)
HSLhsl(0, 71%, 52%)
CMYKcmyk(0%, 80%, 80%, 14%)
LABlab(48.3 65.3 44.1)
LCHlch(48.3 78.8 34.0)
OKLCHoklch(0.580 0.210 26.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.9%
Green17.3%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta79.9%
Yellow79.9%
Key (black)14.1%

Color previews

#db2c2c text on a black background

contrast 4.41:1

Card sample

#db2c2c text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #db2c2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #db2c2c in the Color Lab