Skip to content

#df2102

a dark, electric red · warm · closest name: red

RGB
223, 33, 2
HSL
8°, 98%, 44%
CMYK
0, 85, 99, 13
Luminance
0.1678

Every format

HEX#df2102
RGBrgb(223, 33, 2)
HSLhsl(8, 98%, 44%)
CMYKcmyk(0%, 85%, 99%, 13%)
LABlab(48.0 68.3 60.7)
LCHlch(48.0 91.4 41.6)
OKLCHoklch(0.578 0.223 31.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df2102 on white: 4.82:1
AA ✓ pass · AA-large · AAA
Aa
#df2102 on black: 4.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green12.9%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta85.2%
Yellow99.1%
Key (black)12.5%

Color previews

#df2102 text on a black background

contrast 4.36:1

Card sample

#df2102 text on a white background

contrast 4.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df2102

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df2102 in the Color Lab