HEX Color Conversion

Hex Color Code #231422 — RGB & HSL Conversions

How to use the #231422 color code in HTML & CSS?

To apply the hex color #231422 in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #231422; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #231422; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#231422].

What are the RGB and HSL conversion values for #231422?

In the digital sRGB color space, the hex value #231422 is converted to RGB values of Red: 35, Green: 20, and Blue: 34. When analyzed under the HSL model, its coordinates correspond to hue angle 304°, 27% saturation, and 11% lightness. This makes it visually an extremely deep, dark shade with a soft, understated pastel shade.

CMYK print code settings for #231422

When converting #231422 for CMYK printing, the color separation consists of 0% Cyan, 43% Magenta, 3% Yellow, and 86% key/black. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 35
Green Channel 20
Blue Channel 34
Luminance 0.010

HEX #231422 Color Space Conversions

Click to copy format
HEX Color Code #231422
RGB (Red Green Blue) rgb(35, 20, 34)
HSL (Hue Sat Light) hsl(304°, 27%, 11%)
CMYK (Commercial Print) cmyk(0%, 43%, 3%, 86%)
HSV / HSB Values hsv(304°, 43%, 14%)
Decimal Color Code 2298914
CSS Custom Variable --color-hex: #231422;
Tailwind CSS Utility bg-[#231422]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #231422

Small body copy preview

Black Text on Background

Black text readability test with #231422

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #231422 */
--color-hex: #231422;
--color-rgb: rgb(35, 20, 34);
--color-hsl: hsl(304deg, 27%, 11%);

Adjacent HEX Color Codes

Copied!