Skip to content

#af280c

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

RGB
175, 40, 12
HSL
10°, 87%, 37%
CMYK
0, 77, 93, 31
Luminance
0.1066

Every format

HEX#af280c
RGBrgb(175, 40, 12)
HSLhsl(10, 87%, 37%)
CMYKcmyk(0%, 77%, 93%, 31%)
LABlab(39.0 52.7 47.6)
LCHlch(39.0 71.0 42.1)
OKLCHoklch(0.494 0.175 32.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green15.7%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta77.1%
Yellow93.1%
Key (black)31.4%

Color previews

#af280c text on a black background

contrast 3.13:1

Card sample

#af280c text on a white background

contrast 6.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af280c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af280c in the Color Lab