Skip to content

#ff070d

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

RGB
255, 7, 13
HSL
359°, 100%, 51%
CMYK
0, 97, 95, 0
Luminance
0.2144

Every format

HEX#ff070d
RGBrgb(255, 7, 13)
HSLhsl(359, 100%, 51%)
CMYKcmyk(0%, 97%, 95%, 0%)
LABlab(53.4 79.7 64.1)
LCHlch(53.4 102.3 38.8)
OKLCHoklch(0.629 0.256 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff070d on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#ff070d on black: 5.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green2.7%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta97.3%
Yellow94.9%
Key (black)0.0%

Color previews

#ff070d text on a black background

contrast 5.29:1

Card sample

#ff070d text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 7, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 7, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff070d;
background: linear-gradient(135deg, #ff070d, #FFA607);

Monochromatic scale

Palettes built from #ff070d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff070d in the Color Lab