Skip to content

#df0a2f

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

RGB
223, 10, 47
HSL
350°, 91%, 46%
CMYK
0, 96, 79, 13
Luminance
0.1611

Every format

HEX#df0a2f
RGBrgb(223, 10, 47)
HSLhsl(350, 91%, 46%)
CMYKcmyk(0%, 96%, 79%, 13%)
LABlab(47.1 72.3 41.5)
LCHlch(47.1 83.3 29.8)
OKLCHoklch(0.572 0.228 23.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0a2f on white: 4.97:1
AA ✓ pass · AA-large · AAA
Aa
#df0a2f on black: 4.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green3.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta95.5%
Yellow78.9%
Key (black)12.5%

Color previews

#df0a2f text on a black background

contrast 4.22:1

Card sample

#df0a2f text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0a2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0a2f in the Color Lab