Skip to content

#df032f

a dark, electric red · warm · closest name: crimson

RGB
223, 3, 47
HSL
348°, 97%, 44%
CMYK
0, 99, 79, 13
Luminance
0.1596

Every format

HEX#df032f
RGBrgb(223, 3, 47)
HSLhsl(348, 97%, 44%)
CMYKcmyk(0%, 99%, 79%, 13%)
LABlab(46.9 72.9 41.3)
LCHlch(46.9 83.7 29.5)
OKLCHoklch(0.571 0.229 22.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df032f on white: 5.01:1
AA ✓ pass · AA-large · AAA
Aa
#df032f on black: 4.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green1.2%
Blue18.4%

CMYK percentages

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

Color previews

#df032f text on a black background

contrast 4.19:1

Card sample

#df032f text on a white background

contrast 5.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df032f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df032f in the Color Lab