Skip to content

#af3b49

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

RGB
175, 59, 73
HSL
353°, 50%, 46%
CMYK
0, 66, 58, 31
Luminance
0.1272

Every format

HEX#af3b49
RGBrgb(175, 59, 73)
HSLhsl(353, 50%, 46%)
CMYKcmyk(0%, 66%, 58%, 31%)
LABlab(42.4 48.1 18.0)
LCHlch(42.4 51.3 20.5)
OKLCHoklch(0.522 0.151 17.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green23.1%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta66.3%
Yellow58.3%
Key (black)31.4%

Color previews

#af3b49 text on a black background

contrast 3.54:1

Card sample

#af3b49 text on a white background

contrast 5.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3b49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3b49 in the Color Lab