Skip to content

#af1000

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

RGB
175, 16, 0
HSL
6°, 100%, 34%
CMYK
0, 91, 100, 31
Luminance
0.0948

Every format

HEX#af1000
RGBrgb(175, 16, 0)
HSLhsl(6, 100%, 34%)
CMYKcmyk(0%, 91%, 100%, 31%)
LABlab(36.9 58.4 50.9)
LCHlch(36.9 77.5 41.1)
OKLCHoklch(0.479 0.189 30.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af1000 on white: 7.25:1
AA ✓ pass · AA-large · AAA
Aa
#af1000 on black: 2.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green6.3%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta90.9%
Yellow100.0%
Key (black)31.4%

Color previews

#af1000 text on a black background

contrast 2.90:1

Card sample

#af1000 text on a white background

contrast 7.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af1000

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af1000 in the Color Lab