Skip to content

#af3f2e

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

RGB
175, 63, 46
HSL
8°, 58%, 43%
CMYK
0, 64, 74, 31
Luminance
0.1287

Every format

HEX#af3f2e
RGBrgb(175, 63, 46)
HSLhsl(8, 58%, 43%)
CMYKcmyk(0%, 64%, 74%, 31%)
LABlab(42.6 44.7 34.4)
LCHlch(42.6 56.4 37.6)
OKLCHoklch(0.522 0.150 31.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3f2e on white: 5.88:1
AA ✓ pass · AA-large · AAA
Aa
#af3f2e on black: 3.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green24.7%
Blue18.0%

CMYK percentages

Cyan0.0%
Magenta64.0%
Yellow73.7%
Key (black)31.4%

Color previews

#af3f2e text on a black background

contrast 3.57:1

Card sample

#af3f2e text on a white background

contrast 5.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3f2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3f2e in the Color Lab