Skip to content

#9d2f49

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

RGB
157, 47, 73
HSL
346°, 54%, 40%
CMYK
0, 70, 54, 38
Luminance
0.0968

Every format

HEX#9d2f49
RGBrgb(157, 47, 73)
HSLhsl(346, 54%, 40%)
CMYKcmyk(0%, 70%, 54%, 38%)
LABlab(37.3 47.2 10.5)
LCHlch(37.3 48.3 12.6)
OKLCHoklch(0.478 0.145 10.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9d2f49 on white: 7.15:1
AA ✓ pass · AA-large · AAA
Aa
#9d2f49 on black: 2.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red61.6%
Green18.4%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta70.1%
Yellow53.5%
Key (black)38.4%

Color previews

#9d2f49 text on a black background

contrast 2.94:1

Card sample

#9d2f49 text on a white background

contrast 7.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(157, 47, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(157, 47, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9d2f49;
background: linear-gradient(135deg, #9d2f49, #9D5E2F);

Monochromatic scale

Palettes built from #9d2f49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9d2f49 in the Color Lab