Skip to content

#dd2a21

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

RGB
221, 42, 33
HSL
3°, 74%, 50%
CMYK
0, 81, 85, 13
Luminance
0.1714

Every format

HEX#dd2a21
RGBrgb(221, 42, 33)
HSLhsl(3, 74%, 50%)
CMYKcmyk(0%, 81%, 85%, 13%)
LABlab(48.4 66.1 49.9)
LCHlch(48.4 82.9 37.0)
OKLCHoklch(0.581 0.214 28.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dd2a21 on white: 4.74:1
AA ✓ pass · AA-large · AAA
Aa
#dd2a21 on black: 4.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green16.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta81.0%
Yellow85.1%
Key (black)13.3%

Color previews

#dd2a21 text on a black background

contrast 4.43:1

Card sample

#dd2a21 text on a white background

contrast 4.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(221, 42, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(221, 42, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dd2a21;
background: linear-gradient(135deg, #dd2a21, #DDA721);

Monochromatic scale

Palettes built from #dd2a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dd2a21 in the Color Lab