Skip to content

#af1900

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

RGB
175, 25, 0
HSL
9°, 100%, 34%
CMYK
0, 86, 100, 31
Luminance
0.0981

Every format

HEX#af1900
RGBrgb(175, 25, 0)
HSLhsl(9, 100%, 34%)
CMYKcmyk(0%, 86%, 100%, 31%)
LABlab(37.5 56.7 51.1)
LCHlch(37.5 76.3 42.1)
OKLCHoklch(0.483 0.185 31.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af1900 on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#af1900 on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green9.8%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta85.7%
Yellow100.0%
Key (black)31.4%

Color previews

#af1900 text on a black background

contrast 2.96:1

Card sample

#af1900 text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af1900

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af1900 in the Color Lab