#2A1F32 Color
Inspect #2A1F32 across formats, palettes, contrast and closest named color matches.
Color preview
#2A1F32
Color formats
HEX
#2A1F32
RGB
rgb(42, 31, 50)
RGBA
rgba(42, 31, 50, 1)
HSL
hsl(275, 23%, 16%)
HSV
hsv(275, 38%, 20%)
CMYK
cmyk(16%, 38%, 0%, 80%)
CSS variable
--color-primary: #2A1F32;
Lowercase HEX
#2a1f32
Shades
Tints
Tones
Harmony
CSS snippets for #2A1F32
.color-2a1f32 {
color: #2A1F32;
background-color: #2A1F32;
}Frequently asked questions
What color is #2A1F32?+
#2A1F32 is a HEX color with RGB value rgb(42, 31, 50) and HSL value hsl(275, 23%, 16%). Its closest CSS named color is DarkSlateGray.
What is the closest Tailwind color to #2A1F32?+
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
Color Converter
Convert any color between HEX, RGB, HSL, HSV and CMYK.
HEX to RGB
Convert HEX color codes to RGB instantly.
RGB to HEX
Convert RGB color values to HEX codes.
Palette Generator
Generate beautiful 5-color palettes in seconds.
Contrast Checker
Check WCAG AA / AAA contrast for text and backgrounds.
CSS Gradient Generator
Build linear and radial gradients with live preview.