Hex Color Code #331D32 — RGB & HSL Conversions
How to use the #331D32 color code in HTML & CSS?
To apply the hex color #331D32 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #331D32; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #331D32; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#331D32].
What are the RGB and HSL conversion values for #331D32?
In the digital sRGB color space, the hex value #331D32 is converted to RGB values of Red: 51, Green: 29, and Blue: 50. When analyzed under the HSL model, its coordinates correspond to hue angle 303°, 28% saturation, and 16% lightness. This makes it visually a dark, rich color with a soft, understated pastel shade.
CMYK print code settings for #331D32
When converting #331D32 for CMYK printing, the color separation consists of 0% Cyan, 43% Magenta, 2% Yellow, and 80% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.
HEX #331D32 Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #331D32
Small body copy preview
Black text readability test with #331D32
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #331D32;
--color-rgb: rgb(51, 29, 50);
--color-hsl: hsl(303deg, 28%, 16%);