Skip to content

#af280f

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

RGB
175, 40, 15
HSL
9°, 84%, 37%
CMYK
0, 77, 91, 31
Luminance
0.1067

Every format

HEX#af280f
RGBrgb(175, 40, 15)
HSLhsl(9, 84%, 37%)
CMYKcmyk(0%, 77%, 91%, 31%)
LABlab(39.0 52.8 46.5)
LCHlch(39.0 70.3 41.4)
OKLCHoklch(0.494 0.175 32.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af280f on white: 6.70:1
AA ✓ pass · AA-large · AAA
Aa
#af280f on black: 3.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green15.7%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow91.4%
Key (black)31.4%

Color previews

#af280f text on a black background

contrast 3.13:1

Card sample

#af280f text on a white background

contrast 6.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af280f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af280f in the Color Lab