#512D52 Color

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

Color preview

#512D52

Color formats

HEX
#512D52
RGB
rgb(81, 45, 82)
RGBA
rgba(81, 45, 82, 1)
HSL
hsl(298, 29%, 25%)
HSV
hsv(298, 45%, 32%)
CMYK
cmyk(1%, 45%, 0%, 68%)
CSS variable
--color-primary: #512D52;
Lowercase HEX
#512d52

Shades

Tints

Tones

Harmony

CSS snippets for #512D52

.color-512d52 {
  color: #512D52;
  background-color: #512D52;
}

Frequently asked questions

What color is #512D52?+

#512D52 is a HEX color with RGB value rgb(81, 45, 82) and HSL value hsl(298, 29%, 25%). Its closest CSS named color is DarkSlateGray.

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

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