Skip to content

#df2f25

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

RGB
223, 47, 37
HSL
3°, 74%, 51%
CMYK
0, 79, 83, 13
Luminance
0.1785

Every format

HEX#df2f25
RGBrgb(223, 47, 37)
HSLhsl(3, 74%, 51%)
CMYKcmyk(0%, 79%, 83%, 13%)
LABlab(49.3 65.5 48.9)
LCHlch(49.3 81.7 36.8)
OKLCHoklch(0.588 0.212 28.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2f25 on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#df2f25 on black: 4.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green18.4%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta78.9%
Yellow83.4%
Key (black)12.5%

Color previews

#df2f25 text on a black background

contrast 4.57:1

Card sample

#df2f25 text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2f25

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2f25 in the Color Lab