Skip to content

#af4021

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

RGB
175, 64, 33
HSL
13°, 68%, 41%
CMYK
0, 63, 81, 31
Luminance
0.1289

Every format

HEX#af4021
RGBrgb(175, 64, 33)
HSLhsl(13, 68%, 41%)
CMYKcmyk(0%, 63%, 81%, 31%)
LABlab(42.6 43.8 41.4)
LCHlch(42.6 60.2 43.4)
OKLCHoklch(0.522 0.152 36.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af4021 on white: 5.87:1
AA ✓ pass · AA-large · AAA
Aa
#af4021 on black: 3.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green25.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta63.4%
Yellow81.1%
Key (black)31.4%

Color previews

#af4021 text on a black background

contrast 3.58:1

Card sample

#af4021 text on a white background

contrast 5.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af4021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af4021 in the Color Lab