Skip to content

#9b261e

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

RGB
155, 38, 30
HSL
4°, 68%, 36%
CMYK
0, 76, 81, 39
Luminance
0.0845

Every format

HEX#9b261e
RGBrgb(155, 38, 30)
HSLhsl(4, 68%, 36%)
CMYKcmyk(0%, 76%, 81%, 39%)
LABlab(34.9 47.4 34.1)
LCHlch(34.9 58.4 35.8)
OKLCHoklch(0.457 0.154 28.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red60.8%
Green14.9%
Blue11.8%

CMYK percentages

Cyan0.0%
Magenta75.5%
Yellow80.6%
Key (black)39.2%

Color previews

#9b261e text on a black background

contrast 2.69:1

Card sample

#9b261e text on a white background

contrast 7.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 38, 30, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 38, 30, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b261e;
background: linear-gradient(135deg, #9b261e, #9B791E);

Monochromatic scale

Palettes built from #9b261e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9b261e in the Color Lab