#B42818 Color Information

Hex color code: #B42818

#B42818 is a vivid red color. In RGB it is (180, 40, 24), and in HSL it is (6°, 76%, 40%). It is commonly used in modern UI design.

Try:
Color NameFirebrick
HEX
#B42818
RGB
180, 40, 24
HSL
6°, 76%, 40%
CMYK
0%, 78%, 87%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B42818; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

180, 40, 24

Red: 180 / Green: 40 / Blue: 24

HSL

6°, 76%, 40%

Hue: 6° / Saturation: 76% / Lightness: 40%

CMYK

0%, 78%, 87%, 29%

Cyan: 0% / Magenta: 78% / Yellow: 87% / Key: 29%

What color is #B42818?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B42818 to RGB:

rgb(180, 40, 24)HEX to RGB Converter →

HEX to HSL

Convert #B42818 to HSL:

hsl(6, 76%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #B42818 to CMYK:

cmyk(0%, 78%, 87%, 29%)Color Converter →

Color Meaning and Usage

#B42818 is a vivid red color with RGB values of 180, 40, 24 and HSL of 6°, 76%, 40%. This red-orange hue evokes warmth and passion, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B42818 is #18A4B4, creating high-contrast pairings. For softer combinations, try analogous colors like #B41856.

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

Contrast with #B42818

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B42818?

#B42818 is a vivid red color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #B42818?

#B42818 in RGB is (180, 40, 24) - 180 red, 40 green, and 24 blue.

How to use #B42818 in CSS?

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

What colors go well with #B42818?

#18A4B4 (complementary), #B41856 (analogous), and #70190F (lighter shade) work well with #B42818.