Skip to content

#960f2f

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

RGB
150, 15, 47
HSL
346°, 82%, 32%
CMYK
0, 90, 69, 41
Luminance
0.0703

Every format

HEX#960f2f
RGBrgb(150, 15, 47)
HSLhsl(346, 82%, 32%)
CMYKcmyk(0%, 90%, 69%, 41%)
LABlab(31.9 53.0 19.9)
LCHlch(31.9 56.6 20.6)
OKLCHoklch(0.434 0.165 16.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#960f2f on white: 8.73:1
AA ✓ pass · AA-large · AAA
Aa
#960f2f on black: 2.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red58.8%
Green5.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta90.0%
Yellow68.7%
Key (black)41.2%

Color previews

#960f2f text on a black background

contrast 2.41:1

Card sample

#960f2f text on a white background

contrast 8.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #960f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #960f2f in the Color Lab