Skip to content

#df0f23

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

RGB
223, 15, 35
HSL
354°, 87%, 47%
CMYK
0, 93, 84, 13
Luminance
0.1615

Every format

HEX#df0f23
RGBrgb(223, 15, 35)
HSLhsl(354, 87%, 47%)
CMYKcmyk(0%, 93%, 84%, 13%)
LABlab(47.2 71.5 48.0)
LCHlch(47.2 86.1 33.9)
OKLCHoklch(0.572 0.228 25.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green5.9%
Blue13.7%

CMYK percentages

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

Color previews

#df0f23 text on a black background

contrast 4.23:1

Card sample

#df0f23 text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0f23

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0f23 in the Color Lab