Skip to content

#8f2d2f

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

RGB
143, 45, 47
HSL
359°, 52%, 37%
CMYK
0, 69, 67, 44
Luminance
0.0792

Every format

HEX#8f2d2f
RGBrgb(143, 45, 47)
HSLhsl(359, 52%, 37%)
CMYKcmyk(0%, 69%, 67%, 44%)
LABlab(33.8 41.4 22.0)
LCHlch(33.8 46.9 28.0)
OKLCHoklch(0.446 0.132 23.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f2d2f on white: 8.13:1
AA ✓ pass · AA-large · AAA
Aa
#8f2d2f on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green17.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta68.5%
Yellow67.1%
Key (black)43.9%

Color previews

#8f2d2f text on a black background

contrast 2.58:1

Card sample

#8f2d2f text on a white background

contrast 8.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f2d2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f2d2f in the Color Lab