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