#312128 Color

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

Color preview

#312128

Color formats

HEX
#312128
RGB
rgb(49, 33, 40)
RGBA
rgba(49, 33, 40, 1)
HSL
hsl(334, 20%, 16%)
HSV
hsv(334, 33%, 19%)
CMYK
cmyk(0%, 33%, 18%, 81%)
CSS variable
--color-primary: #312128;
Lowercase HEX
#312128

Shades

Tints

Tones

Harmony

CSS snippets for #312128

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

Frequently asked questions

What color is #312128?+

#312128 is a HEX color with RGB value rgb(49, 33, 40) and HSL value hsl(334, 20%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #312128?+

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