Skip to content

#af3b40

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

RGB
175, 59, 64
HSL
357°, 50%, 46%
CMYK
0, 66, 63, 31
Luminance
0.1261

Every format

HEX#af3b40
RGBrgb(175, 59, 64)
HSLhsl(357, 50%, 46%)
CMYKcmyk(0%, 66%, 63%, 31%)
LABlab(42.2 47.5 23.3)
LCHlch(42.2 52.9 26.1)
OKLCHoklch(0.520 0.151 21.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3b40 on white: 5.96:1
AA ✓ pass · AA-large · AAA
Aa
#af3b40 on black: 3.52:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green23.1%
Blue25.1%

CMYK percentages

Cyan0.0%
Magenta66.3%
Yellow63.4%
Key (black)31.4%

Color previews

#af3b40 text on a black background

contrast 3.52:1

Card sample

#af3b40 text on a white background

contrast 5.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3b40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3b40 in the Color Lab