Skip to content

#df2c20

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

RGB
223, 44, 32
HSL
4°, 75%, 50%
CMYK
0, 80, 86, 13
Luminance
0.1759

Every format

HEX#df2c20
RGBrgb(223, 44, 32)
HSLhsl(4, 75%, 50%)
CMYKcmyk(0%, 80%, 86%, 13%)
LABlab(49.0 66.2 51.0)
LCHlch(49.0 83.5 37.6)
OKLCHoklch(0.586 0.215 29.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2c20 on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#df2c20 on black: 4.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.3%
Blue12.5%

CMYK percentages

Cyan0.0%
Magenta80.3%
Yellow85.7%
Key (black)12.5%

Color previews

#df2c20 text on a black background

contrast 4.52:1

Card sample

#df2c20 text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2c20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2c20 in the Color Lab