#7E231B Color Information

Hex color code: #7E231B

#7E231B is a warm red color. In RGB it is (126, 35, 27), and in HSL it is (5°, 65%, 30%). It is commonly used in modern UI design.

Try:
Color NameSaddle Brown
HEX
#7E231B
RGB
126, 35, 27
HSL
5°, 65%, 30%
CMYK
0%, 72%, 79%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7E231B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7E231B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 35, 27

Red: 126 / Green: 35 / Blue: 27

HSL

5°, 65%, 30%

Hue: 5° / Saturation: 65% / Lightness: 30%

CMYK

0%, 72%, 79%, 51%

Cyan: 0% / Magenta: 72% / Yellow: 79% / Key: 51%

What color is #7E231B?

#7E231B is a red-orange hue associated with warmth and passion.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E231B to RGB:

rgb(126, 35, 27)HEX to RGB Converter →

HEX to HSL

Convert #7E231B to HSL:

hsl(5, 65%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #7E231B to CMYK:

cmyk(0%, 72%, 79%, 51%)Color Converter →

Color Meaning and Usage

A vibrant red tone, #7E231B has RGB (126, 35, 27) and HSL (5°, 65%, 30%). Known for evoking warmth and passion, this red-orange hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7E231B is #1B767E, creating high-contrast pairings. For softer combinations, try analogous colors like #7E1B44.

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

Contrast with #7E231B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7E231B?

#7E231B is a vibrant red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #7E231B?

#7E231B in RGB is (126, 35, 27) - 126 red, 35 green, and 27 blue.

How to use #7E231B in CSS?

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

What colors go well with #7E231B?

#1B767E (complementary), #7E1B44 (analogous), and #3F120D (lighter shade) work well with #7E231B.