Skip to content

#df462f

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

RGB
223, 70, 47
HSL
8°, 73%, 53%
CMYK
0, 69, 79, 13
Luminance
0.2027

Every format

HEX#df462f
RGBrgb(223, 70, 47)
HSLhsl(8, 73%, 53%)
CMYKcmyk(0%, 69%, 79%, 13%)
LABlab(52.1 58.2 46.6)
LCHlch(52.1 74.5 38.7)
OKLCHoklch(0.610 0.193 31.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df462f on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#df462f on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green27.5%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta68.6%
Yellow78.9%
Key (black)12.5%

Color previews

#df462f text on a black background

contrast 5.05:1

Card sample

#df462f text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df462f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df462f in the Color Lab