Skip to content

#df0c2f

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

RGB
223, 12, 47
HSL
350°, 90%, 46%
CMYK
0, 95, 79, 13
Luminance
0.1616

Every format

HEX#df0c2f
RGBrgb(223, 12, 47)
HSLhsl(350, 90%, 46%)
CMYKcmyk(0%, 95%, 79%, 13%)
LABlab(47.2 72.1 41.5)
LCHlch(47.2 83.2 29.9)
OKLCHoklch(0.573 0.228 23.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green4.7%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta94.6%
Yellow78.9%
Key (black)12.5%

Color previews

#df0c2f text on a black background

contrast 4.23:1

Card sample

#df0c2f text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0c2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0c2f in the Color Lab