Skip to content

#960d2f

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

RGB
150, 13, 47
HSL
345°, 84%, 32%
CMYK
0, 91, 69, 41
Luminance
0.0698

Every format

HEX#960d2f
RGBrgb(150, 13, 47)
HSLhsl(345, 84%, 32%)
CMYKcmyk(0%, 91%, 69%, 41%)
LABlab(31.8 53.3 19.7)
LCHlch(31.8 56.9 20.3)
OKLCHoklch(0.433 0.166 16.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960d2f on white: 8.77:1
AA ✓ pass · AA-large · AAA
Aa
#960d2f on black: 2.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta91.3%
Yellow68.7%
Key (black)41.2%

Color previews

#960d2f text on a black background

contrast 2.40:1

Card sample

#960d2f text on a white background

contrast 8.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(150, 13, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(150, 13, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #960d2f;
background: linear-gradient(135deg, #960d2f, #96460D);

Monochromatic scale

Palettes built from #960d2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960d2f in the Color Lab