#51170B Color Information

Hex color code: #51170B

A intense red shade, #51170B appears as (81, 23, 11) in RGB and (10°, 76%, 18%) in HSL. It is widely used in graphic design.

Try:
Color NameMaroon
HEX
#51170B
RGB
81, 23, 11
HSL
10°, 76%, 18%
CMYK
0%, 72%, 86%, 68%

Shades

CSS Usage
color: #51170B;
background-color: #51170B;
border-color: #51170B;
box-shadow: 0 0 10px #51170B;
border: 2px solid #51170B;
Tailwind Usage
bg-[#51170B]
text-[#51170B]
border-[#51170B]
shadow-[0_0_10px_51170B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #51170B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #51170B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #51170B; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #51170B; background-color: #51170B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #51170B20; border-left: 4px solid #51170B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #51170B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51170B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 23, 11

Red: 81 / Green: 23 / Blue: 11

HSL

10°, 76%, 18%

Hue: 10° / Saturation: 76% / Lightness: 18%

CMYK

0%, 72%, 86%, 68%

Cyan: 0% / Magenta: 72% / Yellow: 86% / Key: 68%

What color is #51170B?

#51170B is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51170B to RGB:

rgb(81, 23, 11)HEX to RGB Converter →

HEX to HSL

Convert #51170B to HSL:

hsl(10, 76%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #51170B to CMYK:

cmyk(0%, 72%, 86%, 68%)Color Converter →

Color Meaning and Usage

A deep red tone, #51170B has RGB (81, 23, 11) and HSL (10°, 76%, 18%). Known for evoking sophistication and elegance, this very dark shade is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51170B is #0B4551, creating high-contrast pairings. For softer combinations, try analogous colors like #510B22.

Use #51170B in CSS: color: #51170B or background-color: #51170B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #51170B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.48:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51170B?

#51170B is a deep red color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #51170B?

#51170B in RGB is (81, 23, 11) - 81 red, 23 green, and 11 blue.

How to use #51170B in CSS?

Use #51170B directly in your CSS properties like color or background-color.

What colors go well with #51170B?

#0B4551 (complementary), #510B22 (analogous), and #0D0402 (lighter shade) work well with #51170B.