Skip to content

#df0f1d

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

RGB
223, 15, 29
HSL
356°, 87%, 47%
CMYK
0, 93, 87, 13
Luminance
0.1612

Every format

HEX#df0f1d
RGBrgb(223, 15, 29)
HSLhsl(356, 87%, 47%)
CMYKcmyk(0%, 93%, 87%, 13%)
LABlab(47.1 71.4 50.9)
LCHlch(47.1 87.7 35.5)
OKLCHoklch(0.572 0.228 27.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green5.9%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta93.3%
Yellow87.0%
Key (black)12.5%

Color previews

#df0f1d text on a black background

contrast 4.22:1

Card sample

#df0f1d text on a white background

contrast 4.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0f1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0f1d in the Color Lab