Skip to content

#df0f32

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

RGB
223, 15, 50
HSL
350°, 87%, 47%
CMYK
0, 93, 78, 13
Luminance
0.1626

Every format

HEX#df0f32
RGBrgb(223, 15, 50)
HSLhsl(350, 87%, 47%)
CMYKcmyk(0%, 93%, 78%, 13%)
LABlab(47.3 71.9 40.0)
LCHlch(47.3 82.3 29.1)
OKLCHoklch(0.574 0.227 22.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0f32 on white: 4.94:1
AA ✓ pass · AA-large · AAA
Aa
#df0f32 on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green5.9%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta93.3%
Yellow77.6%
Key (black)12.5%

Color previews

#df0f32 text on a black background

contrast 4.25:1

Card sample

#df0f32 text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0f32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0f32 in the Color Lab