Skip to content

#af3d2d

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

RGB
175, 61, 45
HSL
7°, 59%, 43%
CMYK
0, 65, 74, 31
Luminance
0.1264

Every format

HEX#af3d2d
RGBrgb(175, 61, 45)
HSLhsl(7, 59%, 43%)
CMYKcmyk(0%, 65%, 74%, 31%)
LABlab(42.2 45.6 34.6)
LCHlch(42.2 57.2 37.2)
OKLCHoklch(0.519 0.152 30.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3d2d on white: 5.95:1
AA ✓ pass · AA-large · AAA
Aa
#af3d2d on black: 3.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green23.9%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta65.1%
Yellow74.3%
Key (black)31.4%

Color previews

#af3d2d text on a black background

contrast 3.53:1

Card sample

#af3d2d text on a white background

contrast 5.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3d2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3d2d in the Color Lab