#B23871 Color Information

Hex color code: #B23871

#B23871 is a fiery magenta color. In RGB it is (178, 56, 113), and in HSL it is (332°, 52%, 46%). It is typically applied in digital products.

Try:
Color NameMedium Violet Red
HEX
#B23871
RGB
178, 56, 113
HSL
332°, 52%, 46%
CMYK
0%, 69%, 37%, 30%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B23871; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

178, 56, 113

Red: 178 / Green: 56 / Blue: 113

HSL

332°, 52%, 46%

Hue: 332° / Saturation: 52% / Lightness: 46%

CMYK

0%, 69%, 37%, 30%

Cyan: 0% / Magenta: 69% / Yellow: 37% / Key: 30%

What color is #B23871?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B23871 to RGB:

rgb(178, 56, 113)HEX to RGB Converter →

HEX to HSL

Convert #B23871 to HSL:

hsl(332, 52%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #B23871 to CMYK:

cmyk(0%, 69%, 37%, 30%)Color Converter →

Color Meaning and Usage

A energetic magenta tone, #B23871 has RGB (178, 56, 113) and HSL (332°, 52%, 46%). Known for evoking warmth and passion, this red-orange hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B23871 is #38B279, creating high-contrast pairings. For softer combinations, try analogous colors like #B238AE.

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

Contrast with #B23871

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B23871?

#B23871 is a energetic magenta color - a red-orange hue that evokes warmth and passion.

What is the RGB value of #B23871?

#B23871 in RGB is (178, 56, 113) - 178 red, 56 green, and 113 blue.

How to use #B23871 in CSS?

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

What colors go well with #B23871?

#38B279 (complementary), #B238AE (analogous), and #78264C (lighter shade) work well with #B23871.