Skip to content

#df2d26

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

RGB
223, 45, 38
HSL
2°, 74%, 51%
CMYK
0, 80, 83, 13
Luminance
0.1770

Every format

HEX#df2d26
RGBrgb(223, 45, 38)
HSLhsl(2, 74%, 51%)
CMYKcmyk(0%, 80%, 83%, 13%)
LABlab(49.1 66.0 48.2)
LCHlch(49.1 81.8 36.1)
OKLCHoklch(0.587 0.214 28.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2d26 on white: 4.62:1
AA ✓ pass · AA-large · AAA
Aa
#df2d26 on black: 4.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green17.6%
Blue14.9%

CMYK percentages

Cyan0.0%
Magenta79.8%
Yellow83.0%
Key (black)12.5%

Color previews

#df2d26 text on a black background

contrast 4.54:1

Card sample

#df2d26 text on a white background

contrast 4.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2d26

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2d26 in the Color Lab