Skip to content

#8c2f0d

a dark, electric orange · warm · closest name: maroon

RGB
140, 47, 13
HSL
16°, 83%, 30%
CMYK
0, 66, 91, 45
Luminance
0.0764

Every format

HEX#8c2f0d
RGBrgb(140, 47, 13)
HSLhsl(16, 83%, 30%)
CMYKcmyk(0%, 66%, 91%, 45%)
LABlab(33.2 38.0 40.0)
LCHlch(33.2 55.2 46.5)
OKLCHoklch(0.439 0.133 38.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c2f0d on white: 8.31:1
AA ✓ pass · AA-large · AAA
Aa
#8c2f0d on black: 2.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green18.4%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta66.4%
Yellow90.7%
Key (black)45.1%

Color previews

#8c2f0d text on a black background

contrast 2.53:1

Card sample

#8c2f0d text on a white background

contrast 8.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8c2f0d;
Background color
Panel with #8c2f0d background
background-color: #8c2f0d;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c2f0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c2f0d in the Color Lab