#31212F Color

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

Color preview

#31212F

Color formats

HEX
#31212F
RGB
rgb(49, 33, 47)
RGBA
rgba(49, 33, 47, 1)
HSL
hsl(308, 20%, 16%)
HSV
hsv(308, 33%, 19%)
CMYK
cmyk(0%, 33%, 4%, 81%)
CSS variable
--color-primary: #31212F;
Lowercase HEX
#31212f

Shades

Tints

Tones

Harmony

CSS snippets for #31212F

.color-31212f {
  color: #31212F;
  background-color: #31212F;
}

Frequently asked questions

What color is #31212F?+

#31212F is a HEX color with RGB value rgb(49, 33, 47) and HSL value hsl(308, 20%, 16%). Its closest CSS named color is DarkSlateGray.

What is the closest Tailwind color to #31212F?+

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