Skip to content

#df512f

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

RGB
223, 81, 47
HSL
12°, 73%, 53%
CMYK
0, 64, 79, 13
Luminance
0.2178

Every format

HEX#df512f
RGBrgb(223, 81, 47)
HSLhsl(12, 73%, 53%)
CMYKcmyk(0%, 64%, 79%, 13%)
LABlab(53.8 53.7 48.2)
LCHlch(53.8 72.2 41.9)
OKLCHoklch(0.622 0.184 34.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df512f on white: 3.92:1
AA ✗ fail · AA-large · AAA
Aa
#df512f on black: 5.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green31.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta63.7%
Yellow78.9%
Key (black)12.5%

Color previews

#df512f text on a black background

contrast 5.36:1

Card sample

#df512f text on a white background

contrast 3.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df512f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df512f in the Color Lab