Skip to content

#af080e

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

RGB
175, 8, 14
HSL
358°, 91%, 36%
CMYK
0, 95, 92, 31
Luminance
0.0932

Every format

HEX#af080e
RGBrgb(175, 8, 14)
HSLhsl(358, 91%, 36%)
CMYKcmyk(0%, 95%, 92%, 31%)
LABlab(36.6 59.6 45.3)
LCHlch(36.6 74.8 37.2)
OKLCHoklch(0.476 0.191 28.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af080e on white: 7.33:1
AA ✓ pass · AA-large · AAA
Aa
#af080e on black: 2.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green3.1%
Blue5.5%

CMYK percentages

Cyan0.0%
Magenta95.4%
Yellow92.0%
Key (black)31.4%

Color previews

#af080e text on a black background

contrast 2.86:1

Card sample

#af080e text on a white background

contrast 7.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af080e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af080e in the Color Lab