#B5138C Color

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

Color preview

#B5138C

Color formats

HEX
#B5138C
RGB
rgb(181, 19, 140)
RGBA
rgba(181, 19, 140, 1)
HSL
hsl(315, 81%, 39%)
HSV
hsv(315, 90%, 71%)
CMYK
cmyk(0%, 90%, 23%, 29%)
CSS variable
--color-primary: #B5138C;
Lowercase HEX
#b5138c

Shades

Tints

Tones

Harmony

CSS snippets for #B5138C

.color-b5138c {
  color: #B5138C;
  background-color: #B5138C;
}

Frequently asked questions

What color is #B5138C?+

#B5138C is a HEX color with RGB value rgb(181, 19, 140) and HSL value hsl(315, 81%, 39%). Its closest CSS named color is MediumVioletRed.

What is the closest Tailwind color to #B5138C?+

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