#870542 Color

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

Color preview

#870542

Color formats

HEX
#870542
RGB
rgb(135, 5, 66)
RGBA
rgba(135, 5, 66, 1)
HSL
hsl(332, 93%, 27%)
HSV
hsv(332, 96%, 53%)
CMYK
cmyk(0%, 96%, 51%, 47%)
CSS variable
--color-primary: #870542;
Lowercase HEX
#870542

Shades

Tints

Tones

Harmony

CSS snippets for #870542

.color-870542 {
  color: #870542;
  background-color: #870542;
}

Frequently asked questions

What color is #870542?+

#870542 is a HEX color with RGB value rgb(135, 5, 66) and HSL value hsl(332, 93%, 27%). Its closest CSS named color is Brown.

What is the closest Tailwind color to #870542?+

The closest Tailwind color is rose-900, available as the bg-rose-900 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