#B7158C Color

Inspect #B7158C across formats, palettes, contrast and closest named color matches.

Color preview

#B7158C

Color formats

HEX
#B7158C
RGB
rgb(183, 21, 140)
RGBA
rgba(183, 21, 140, 1)
HSL
hsl(316, 79%, 40%)
HSV
hsv(316, 89%, 72%)
CMYK
cmyk(0%, 89%, 23%, 28%)
CSS variable
--color-primary: #B7158C;
Lowercase HEX
#b7158c

Shades

Tints

Tones

Harmony

CSS snippets for #B7158C

.color-b7158c {
  color: #B7158C;
  background-color: #B7158C;
}

Frequently asked questions

What color is #B7158C?+

#B7158C is a HEX color with RGB value rgb(183, 21, 140) and HSL value hsl(316, 79%, 40%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #B7158C?+

The closest Tailwind color is fuchsia-700, available as the bg-fuchsia-700 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools