#B5124B Color Information

Hex color code: #B5124B

The hex color #B5124B is a vivid magenta with RGB values of (181, 18, 75) and HSL of (339°, 82%, 39%). It is commonly used in modern UI design.

Try:
Color NameCrimson
HEX
#B5124B
RGB
181, 18, 75
HSL
339°, 82%, 39%
CMYK
0%, 90%, 59%, 29%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B5124B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

181, 18, 75

Red: 181 / Green: 18 / Blue: 75

HSL

339°, 82%, 39%

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

CMYK

0%, 90%, 59%, 29%

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

What color is #B5124B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B5124B to RGB:

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

HEX to HSL

Convert #B5124B to HSL:

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

HEX to CMYK

Convert #B5124B to CMYK:

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

Color Meaning and Usage

A vivid magenta tone, #B5124B has RGB (181, 18, 75) and HSL (339°, 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 #B5124B is #12B57C, creating high-contrast pairings. For softer combinations, try analogous colors like #B5129D.

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

Contrast with #B5124B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B5124B?

#B5124B is a vivid magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #B5124B?

#B5124B in RGB is (181, 18, 75) - 181 red, 18 green, and 75 blue.

How to use #B5124B in CSS?

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

What colors go well with #B5124B?

#12B57C (complementary), #B5129D (analogous), and #6F0B2E (lighter shade) work well with #B5124B.