HEX Color Conversion

Hex Color Code #220C22 — RGB & HSL Conversions

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

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

What are the RGB and HSL conversion values for #220C22?

The RGB code for #220C22 is computed as rgb(34, 12, 34). Web designers using HSL values will find it at a hue of 300°, saturation of 48%, and lightness index of 9%, representing a balanced, moderate saturation.

CMYK print code settings for #220C22

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

Red Channel 34
Green Channel 12
Blue Channel 34
Luminance 0.007

HEX #220C22 Color Space Conversions

Click to copy format
HEX Color Code #220C22
RGB (Red Green Blue) rgb(34, 12, 34)
HSL (Hue Sat Light) hsl(300°, 48%, 9%)
CMYK (Commercial Print) cmyk(0%, 65%, 0%, 87%)
HSV / HSB Values hsv(300°, 65%, 13%)
Decimal Color Code 2231330
CSS Custom Variable --color-hex: #220C22;
Tailwind CSS Utility bg-[#220C22]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #220C22

Small body copy preview

Black Text on Background

Black text readability test with #220C22

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 #220C22 */
--color-hex: #220C22;
--color-rgb: rgb(34, 12, 34);
--color-hsl: hsl(300deg, 48%, 9%);

Adjacent HEX Color Codes

Copied!