Skip to content

#df0f28

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

RGB
223, 15, 40
HSL
353°, 87%, 47%
CMYK
0, 93, 82, 13
Luminance
0.1618

Every format

HEX#df0f28
RGBrgb(223, 15, 40)
HSLhsl(353, 87%, 47%)
CMYKcmyk(0%, 93%, 82%, 13%)
LABlab(47.2 71.6 45.4)
LCHlch(47.2 84.8 32.4)
OKLCHoklch(0.573 0.227 25.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0f28 on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#df0f28 on black: 4.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green5.9%
Blue15.7%

CMYK percentages

Cyan0.0%
Magenta93.3%
Yellow82.1%
Key (black)12.5%

Color previews

#df0f28 text on a black background

contrast 4.24:1

Card sample

#df0f28 text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0f28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0f28 in the Color Lab