Skip to content

#af3d32

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

RGB
175, 61, 50
HSL
5°, 56%, 44%
CMYK
0, 65, 71, 31
Luminance
0.1268

Every format

HEX#af3d32
RGBrgb(175, 61, 50)
HSLhsl(5, 56%, 44%)
CMYKcmyk(0%, 65%, 71%, 31%)
LABlab(42.3 45.8 31.8)
LCHlch(42.3 55.7 34.7)
OKLCHoklch(0.520 0.151 28.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3d32 on white: 5.94:1
AA ✓ pass · AA-large · AAA
Aa
#af3d32 on black: 3.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green23.9%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta65.1%
Yellow71.4%
Key (black)31.4%

Color previews

#af3d32 text on a black background

contrast 3.54:1

Card sample

#af3d32 text on a white background

contrast 5.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3d32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3d32 in the Color Lab