Skip to content

#af1400

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

RGB
175, 20, 0
HSL
7°, 100%, 34%
CMYK
0, 89, 100, 31
Luminance
0.0961

Every format

HEX#af1400
RGBrgb(175, 20, 0)
HSLhsl(7, 100%, 34%)
CMYKcmyk(0%, 89%, 100%, 31%)
LABlab(37.1 57.7 51.0)
LCHlch(37.1 77.0 41.5)
OKLCHoklch(0.480 0.188 30.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af1400 on white: 7.18:1
AA ✓ pass · AA-large · AAA
Aa
#af1400 on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green7.8%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta88.6%
Yellow100.0%
Key (black)31.4%

Color previews

#af1400 text on a black background

contrast 2.92:1

Card sample

#af1400 text on a white background

contrast 7.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af1400

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af1400 in the Color Lab