Skip to content

#af210d

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

RGB
175, 33, 13
HSL
7°, 86%, 37%
CMYK
0, 81, 93, 31
Luminance
0.1023

Every format

HEX#af210d
RGBrgb(175, 33, 13)
HSLhsl(7, 86%, 37%)
CMYKcmyk(0%, 81%, 93%, 31%)
LABlab(38.3 54.8 46.8)
LCHlch(38.3 72.1 40.5)
OKLCHoklch(0.489 0.180 31.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af210d on white: 6.89:1
AA ✓ pass · AA-large · AAA
Aa
#af210d on black: 3.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green12.9%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta81.1%
Yellow92.6%
Key (black)31.4%

Color previews

#af210d text on a black background

contrast 3.05:1

Card sample

#af210d text on a white background

contrast 6.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af210d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af210d in the Color Lab