Skip to content

#9f2000

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

RGB
159, 32, 0
HSL
12°, 100%, 31%
CMYK
0, 80, 100, 38
Luminance
0.0840

Every format

HEX#9f2000
RGBrgb(159, 32, 0)
HSLhsl(12, 100%, 31%)
CMYKcmyk(0%, 80%, 100%, 38%)
LABlab(34.8 50.1 48.0)
LCHlch(34.8 69.3 43.8)
OKLCHoklch(0.457 0.167 33.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9f2000 on white: 7.83:1
AA ✓ pass · AA-large · AAA
Aa
#9f2000 on black: 2.68:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.4%
Green12.5%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta79.9%
Yellow100.0%
Key (black)37.6%

Color previews

#9f2000 text on a black background

contrast 2.68:1

Card sample

#9f2000 text on a white background

contrast 7.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #9f2000

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9f2000 in the Color Lab