Skip to content

#af2d11

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

RGB
175, 45, 17
HSL
11°, 82%, 38%
CMYK
0, 74, 90, 31
Luminance
0.1103

Every format

HEX#af2d11
RGBrgb(175, 45, 17)
HSLhsl(11, 82%, 38%)
CMYKcmyk(0%, 74%, 90%, 31%)
LABlab(39.6 51.1 46.2)
LCHlch(39.6 68.9 42.1)
OKLCHoklch(0.499 0.171 33.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2d11 on white: 6.55:1
AA ✓ pass · AA-large · AAA
Aa
#af2d11 on black: 3.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green17.6%
Blue6.7%

CMYK percentages

Cyan0.0%
Magenta74.3%
Yellow90.3%
Key (black)31.4%

Color previews

#af2d11 text on a black background

contrast 3.21:1

Card sample

#af2d11 text on a white background

contrast 6.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2d11

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af2d11 in the Color Lab