Skip to content

#dd2f18

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

RGB
221, 47, 24
HSL
7°, 80%, 48%
CMYK
0, 79, 89, 13
Luminance
0.1747

Every format

HEX#dd2f18
RGBrgb(221, 47, 24)
HSLhsl(7, 80%, 48%)
CMYKcmyk(0%, 79%, 89%, 13%)
LABlab(48.9 64.6 54.2)
LCHlch(48.9 84.3 40.0)
OKLCHoklch(0.584 0.212 31.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dd2f18 on white: 4.67:1
AA ✓ pass · AA-large · AAA
Aa
#dd2f18 on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.7%
Green18.4%
Blue9.4%

CMYK percentages

Cyan0.0%
Magenta78.7%
Yellow89.1%
Key (black)13.3%

Color previews

#dd2f18 text on a black background

contrast 4.49:1

Card sample

#dd2f18 text on a white background

contrast 4.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dd2f18

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dd2f18 in the Color Lab