HEX Color Conversion

Hex Color Code #B20C22 — RGB & HSL Conversions

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

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

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

The RGB code for #B20C22 is computed as rgb(178, 12, 34). Web designers using HSL values will find it at a hue of 352°, saturation of 87%, and lightness index of 37%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #B20C22

For print design setups, the CMYK values for the #B20C22 color code are Cyan: 0%, Magenta: 93%, Yellow: 81%, and Black: 30%. Given its red-channel dominance, this color is a powerful visual stimulator often deployed in banners, call-to-actions, and warning components.

Red Channel 178
Green Channel 12
Blue Channel 34
Luminance 0.098

HEX #B20C22 Color Space Conversions

Click to copy format
HEX Color Code #B20C22
RGB (Red Green Blue) rgb(178, 12, 34)
HSL (Hue Sat Light) hsl(352°, 87%, 37%)
CMYK (Commercial Print) cmyk(0%, 93%, 81%, 30%)
HSV / HSB Values hsv(352°, 93%, 70%)
Decimal Color Code 11668514
CSS Custom Variable --color-hex: #B20C22;
Tailwind CSS Utility bg-[#B20C22]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B20C22

Small body copy preview

Black Text on Background

Black text readability test with #B20C22

Small body copy preview

Complementary & Analogous Harmonies

Computed dynamically

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 #B20C22 */
--color-hex: #B20C22;
--color-rgb: rgb(178, 12, 34);
--color-hsl: hsl(352deg, 87%, 37%);

Adjacent HEX Color Codes

Copied!