Skip to content

#a50f21

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

RGB
165, 15, 33
HSL
353°, 83%, 35%
CMYK
0, 91, 80, 35
Luminance
0.0845

Every format

HEX#a50f21
RGBrgb(165, 15, 33)
HSLhsl(353, 83%, 35%)
CMYKcmyk(0%, 91%, 80%, 35%)
LABlab(34.9 56.4 33.1)
LCHlch(34.9 65.4 30.4)
OKLCHoklch(0.461 0.178 23.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a50f21 on white: 7.81:1
AA ✓ pass · AA-large · AAA
Aa
#a50f21 on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green5.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta90.9%
Yellow80.0%
Key (black)35.3%

Color previews

#a50f21 text on a black background

contrast 2.69:1

Card sample

#a50f21 text on a white background

contrast 7.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(165, 15, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 15, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a50f21;
background: linear-gradient(135deg, #a50f21, #A5610F);

Monochromatic scale

Palettes built from #a50f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a50f21 in the Color Lab