Skip to content

#af210f

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

RGB
175, 33, 15
HSL
7°, 84%, 37%
CMYK
0, 81, 91, 31
Luminance
0.1024

Every format

HEX#af210f
RGBrgb(175, 33, 15)
HSLhsl(7, 84%, 37%)
CMYKcmyk(0%, 81%, 91%, 31%)
LABlab(38.3 54.9 46.0)
LCHlch(38.3 71.6 40.0)
OKLCHoklch(0.489 0.180 30.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#af210f text on a black background

contrast 3.05:1

Card sample

#af210f text on a white background

contrast 6.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af210f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af210f in the Color Lab