#512E4C Color

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

Color preview

#512E4C

Color formats

HEX
#512E4C
RGB
rgb(81, 46, 76)
RGBA
rgba(81, 46, 76, 1)
HSL
hsl(309, 28%, 25%)
HSV
hsv(309, 43%, 32%)
CMYK
cmyk(0%, 43%, 6%, 68%)
CSS variable
--color-primary: #512E4C;
Lowercase HEX
#512e4c

Shades

Tints

Tones

Harmony

CSS snippets for #512E4C

.color-512e4c {
  color: #512E4C;
  background-color: #512E4C;
}

Frequently asked questions

What color is #512E4C?+

#512E4C is a HEX color with RGB value rgb(81, 46, 76) and HSL value hsl(309, 28%, 25%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #512E4C?+

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