Skip to content

#df0002

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

RGB
223, 0, 2
HSL
360°, 100%, 44%
CMYK
0, 100, 99, 13
Luminance
0.1569

Every format

HEX#df0002
RGBrgb(223, 0, 2)
HSLhsl(360, 100%, 44%)
CMYKcmyk(0%, 100%, 99%, 13%)
LABlab(46.6 72.4 60.1)
LCHlch(46.6 94.1 39.7)
OKLCHoklch(0.568 0.233 29.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df0002 on white: 5.07:1
AA ✓ pass · AA-large · AAA
Aa
#df0002 on black: 4.14:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green0.0%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta100.0%
Yellow99.1%
Key (black)12.5%

Color previews

#df0002 text on a black background

contrast 4.14:1

Card sample

#df0002 text on a white background

contrast 5.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df0002

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df0002 in the Color Lab