#312A1B Color Information

Hex color code: #312A1B

A rich orange shade, #312A1B appears as (49, 42, 27) in RGB and (41°, 29%, 15%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#312A1B
RGB
49, 42, 27
HSL
41°, 29%, 15%
CMYK
0%, 14%, 45%, 81%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #312A1B; 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 #312A1B; background-color: #312A1B15; }

Alert / Toast

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

Link / Accent

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

a { color: #312A1B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #312A1B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 42, 27

Red: 49 / Green: 42 / Blue: 27

HSL

41°, 29%, 15%

Hue: 41° / Saturation: 29% / Lightness: 15%

CMYK

0%, 14%, 45%, 81%

Cyan: 0% / Magenta: 14% / Yellow: 45% / Key: 81%

What color is #312A1B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #312A1B to RGB:

rgb(49, 42, 27)HEX to RGB Converter →

HEX to HSL

Convert #312A1B to HSL:

hsl(41, 29%, 15%)RGB to HSL Converter →

HEX to CMYK

Convert #312A1B to CMYK:

cmyk(0%, 14%, 45%, 81%)Color Converter →

Color Meaning and Usage

A dark orange tone, #312A1B has RGB (49, 42, 27) and HSL (41°, 29%, 15%). Known for evoking sophistication and elegance, this very dark shade is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #312A1B is #1B2231, creating high-contrast pairings. For softer combinations, try analogous colors like #311F1B.

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

Contrast with #312A1B

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 #312A1B?

#312A1B is a dark orange color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #312A1B?

#312A1B in RGB is (49, 42, 27) - 49 red, 42 green, and 27 blue.

How to use #312A1B in CSS?

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

What colors go well with #312A1B?

#1B2231 (complementary), #311F1B (analogous), and #000000 (lighter shade) work well with #312A1B.