#B51238 Color Information

Hex color code: #B51238

The hex color #B51238 is a eye-catching red with RGB values of (181, 18, 56) and HSL of (346°, 82%, 39%). It is widely used in graphic design.

Try:
Color NameFirebrick
HEX
#B51238
RGB
181, 18, 56
HSL
346°, 82%, 39%
CMYK
0%, 90%, 69%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B51238; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

181, 18, 56

Red: 181 / Green: 18 / Blue: 56

HSL

346°, 82%, 39%

Hue: 346° / Saturation: 82% / Lightness: 39%

CMYK

0%, 90%, 69%, 29%

Cyan: 0% / Magenta: 90% / Yellow: 69% / Key: 29%

What color is #B51238?

#B51238 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B51238 to RGB:

rgb(181, 18, 56)HEX to RGB Converter →

HEX to HSL

Convert #B51238 to HSL:

hsl(346, 82%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #B51238 to CMYK:

cmyk(0%, 90%, 69%, 29%)Color Converter →

Color Meaning and Usage

A dynamic red tone, #B51238 has RGB (181, 18, 56) and HSL (346°, 82%, 39%). Known for evoking energy and excitement, this highly saturated hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B51238 is #12B58F, creating high-contrast pairings. For softer combinations, try analogous colors like #B5128A.

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

Contrast with #B51238

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B51238?

#B51238 is a dynamic red color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B51238?

#B51238 in RGB is (181, 18, 56) - 181 red, 18 green, and 56 blue.

How to use #B51238 in CSS?

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

What colors go well with #B51238?

#12B58F (complementary), #B5128A (analogous), and #6F0B22 (lighter shade) work well with #B51238.