Skip to content

#af3949

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

RGB
175, 57, 73
HSL
352°, 51%, 46%
CMYK
0, 67, 58, 31
Luminance
0.1252

Every format

HEX#af3949
RGBrgb(175, 57, 73)
HSLhsl(352, 51%, 46%)
CMYKcmyk(0%, 67%, 58%, 31%)
LABlab(42.0 48.9 17.5)
LCHlch(42.0 52.0 19.7)
OKLCHoklch(0.519 0.153 16.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3949 on white: 5.99:1
AA ✓ pass · AA-large · AAA
Aa
#af3949 on black: 3.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green22.4%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta67.4%
Yellow58.3%
Key (black)31.4%

Color previews

#af3949 text on a black background

contrast 3.50:1

Card sample

#af3949 text on a white background

contrast 5.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3949

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af3949 in the Color Lab