#B71F8C Color Information

Hex color code: #B71F8C

A striking magenta shade, #B71F8C appears as (183, 31, 140) in RGB and (317°, 71%, 42%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Violet Red
HEX
#B71F8C
RGB
183, 31, 140
HSL
317°, 71%, 42%
CMYK
0%, 83%, 23%, 28%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #B71F8C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

183, 31, 140

Red: 183 / Green: 31 / Blue: 140

HSL

317°, 71%, 42%

Hue: 317° / Saturation: 71% / Lightness: 42%

CMYK

0%, 83%, 23%, 28%

Cyan: 0% / Magenta: 83% / Yellow: 23% / Key: 28%

What color is #B71F8C?

#B71F8C is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #B71F8C to RGB:

rgb(183, 31, 140)HEX to RGB Converter →

HEX to HSL

Convert #B71F8C to HSL:

hsl(317, 71%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #B71F8C to CMYK:

cmyk(0%, 83%, 23%, 28%)Color Converter →

Color Meaning and Usage

#B71F8C is a bold magenta color with RGB values of 183, 31, 140 and HSL of 317°, 71%, 42%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #B71F8C is #1FB74A, creating high-contrast pairings. For softer combinations, try analogous colors like #961FB7.

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

Contrast with #B71F8C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #B71F8C?

#B71F8C is a bold magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #B71F8C?

#B71F8C in RGB is (183, 31, 140) - 183 red, 31 green, and 140 blue.

How to use #B71F8C in CSS?

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

What colors go well with #B71F8C?

#1FB74A (complementary), #961FB7 (analogous), and #76145A (lighter shade) work well with #B71F8C.