Skip to content

#d92f21

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

RGB
217, 47, 33
HSL
5°, 74%, 49%
CMYK
0, 78, 85, 15
Luminance
0.1689

Every format

HEX#d92f21
RGBrgb(217, 47, 33)
HSLhsl(5, 74%, 49%)
CMYKcmyk(0%, 78%, 85%, 15%)
LABlab(48.1 63.7 49.3)
LCHlch(48.1 80.5 37.8)
OKLCHoklch(0.577 0.207 29.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red85.1%
Green18.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta78.3%
Yellow84.8%
Key (black)14.9%

Color previews

#d92f21 text on a black background

contrast 4.38:1

Card sample

#d92f21 text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d92f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d92f21 in the Color Lab