HEX Color Conversion

Hex Color Code #220122 — RGB & HSL Conversions

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

For developers, implementing the #220122 color code involves declaring it in your styles. In stylesheet designs, use color: #220122; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#220122] or custom configure it in your theme files.

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

The RGB code for #220122 is computed as rgb(34, 1, 34). Web designers using HSL values will find it at a hue of 300°, saturation of 94%, and lightness index of 7%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #220122

For print design setups, the CMYK values for the #220122 color code are Cyan: 0%, Magenta: 97%, Yellow: 0%, and Black: 87%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 34
Green Channel 1
Blue Channel 34
Luminance 0.005

HEX #220122 Color Space Conversions

Click to copy format
HEX Color Code #220122
RGB (Red Green Blue) rgb(34, 1, 34)
HSL (Hue Sat Light) hsl(300°, 94%, 7%)
CMYK (Commercial Print) cmyk(0%, 97%, 0%, 87%)
HSV / HSB Values hsv(300°, 97%, 13%)
Decimal Color Code 2228514
CSS Custom Variable --color-hex: #220122;
Tailwind CSS Utility bg-[#220122]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #220122

Small body copy preview

Black Text on Background

Black text readability test with #220122

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 #220122 */
--color-hex: #220122;
--color-rgb: rgb(34, 1, 34);
--color-hsl: hsl(300deg, 94%, 7%);

Adjacent HEX Color Codes

Copied!