#311117 Color Information

Hex color code: #311117

The hex color #311117 is a rich red with RGB values of (49, 17, 23) and HSL of (349°, 48%, 13%). It is often used for branding and logos.

Try:
Color NameBlack
HEX
#311117
RGB
49, 17, 23
HSL
349°, 48%, 13%
CMYK
0%, 65%, 53%, 81%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #311117; 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 #311117; background-color: #31111715; }

Alert / Toast

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

Link / Accent

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

a { color: #311117; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #311117 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 17, 23

Red: 49 / Green: 17 / Blue: 23

HSL

349°, 48%, 13%

Hue: 349° / Saturation: 48% / Lightness: 13%

CMYK

0%, 65%, 53%, 81%

Cyan: 0% / Magenta: 65% / Yellow: 53% / Key: 81%

What color is #311117?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #311117 to RGB:

rgb(49, 17, 23)HEX to RGB Converter →

HEX to HSL

Convert #311117 to HSL:

hsl(349, 48%, 13%)RGB to HSL Converter →

HEX to CMYK

Convert #311117 to CMYK:

cmyk(0%, 65%, 53%, 81%)Color Converter →

Color Meaning and Usage

A dramatic red tone, #311117 has RGB (49, 17, 23) and HSL (349°, 48%, 13%). Known for evoking sophistication and elegance, this very dark shade is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #311117 is #11312B, creating high-contrast pairings. For softer combinations, try analogous colors like #311127.

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

Contrast with #311117

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #311117?

#311117 is a dramatic red color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #311117?

#311117 in RGB is (49, 17, 23) - 49 red, 17 green, and 23 blue.

How to use #311117 in CSS?

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

What colors go well with #311117?

#11312B (complementary), #311127 (analogous), and #000000 (lighter shade) work well with #311117.