Skip to content

#af4d2d

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

RGB
175, 77, 45
HSL
15°, 59%, 43%
CMYK
0, 56, 74, 31
Luminance
0.1461

Every format

HEX#af4d2d
RGBrgb(175, 77, 45)
HSLhsl(15, 59%, 43%)
CMYKcmyk(0%, 56%, 74%, 31%)
LABlab(45.1 38.0 37.7)
LCHlch(45.1 53.5 44.8)
OKLCHoklch(0.541 0.136 38.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af4d2d on white: 5.35:1
AA ✓ pass · AA-large · AAA
Aa
#af4d2d on black: 3.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green30.2%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta56.0%
Yellow74.3%
Key (black)31.4%

Color previews

#af4d2d text on a black background

contrast 3.92:1

Card sample

#af4d2d text on a white background

contrast 5.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af4d2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af4d2d in the Color Lab