Skip to content

#af2949

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

RGB
175, 41, 73
HSL
346°, 62%, 42%
CMYK
0, 77, 58, 31
Luminance
0.1118

Every format

HEX#af2949
RGBrgb(175, 41, 73)
HSLhsl(346, 62%, 42%)
CMYKcmyk(0%, 77%, 58%, 31%)
LABlab(39.9 54.9 14.7)
LCHlch(39.9 56.8 14.9)
OKLCHoklch(0.503 0.170 12.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af2949 on white: 6.49:1
AA ✓ pass · AA-large · AAA
Aa
#af2949 on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green16.1%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta76.6%
Yellow58.3%
Key (black)31.4%

Color previews

#af2949 text on a black background

contrast 3.24:1

Card sample

#af2949 text on a white background

contrast 6.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af2949

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af2949 in the Color Lab