#512E4F Color

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

Color preview

#512E4F

Color formats

HEX
#512E4F
RGB
rgb(81, 46, 79)
RGBA
rgba(81, 46, 79, 1)
HSL
hsl(303, 28%, 25%)
HSV
hsv(303, 43%, 32%)
CMYK
cmyk(0%, 43%, 2%, 68%)
CSS variable
--color-primary: #512E4F;
Lowercase HEX
#512e4f

Shades

Tints

Tones

Harmony

CSS snippets for #512E4F

.color-512e4f {
  color: #512E4F;
  background-color: #512E4F;
}

Frequently asked questions

What color is #512E4F?+

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

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

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