HEX Color Conversion

Hex Color Code #B20522 — RGB & HSL Conversions

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

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

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

The RGB code for #B20522 is computed as rgb(178, 5, 34). Web designers using HSL values will find it at a hue of 350°, saturation of 95%, and lightness index of 36%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #B20522

For print design setups, the CMYK values for the #B20522 color code are Cyan: 0%, Magenta: 97%, 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 5
Blue Channel 34
Luminance 0.097

HEX #B20522 Color Space Conversions

Click to copy format
HEX Color Code #B20522
RGB (Red Green Blue) rgb(178, 5, 34)
HSL (Hue Sat Light) hsl(350°, 95%, 36%)
CMYK (Commercial Print) cmyk(0%, 97%, 81%, 30%)
HSV / HSB Values hsv(350°, 97%, 70%)
Decimal Color Code 11666722
CSS Custom Variable --color-hex: #B20522;
Tailwind CSS Utility bg-[#B20522]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B20522

Small body copy preview

Black Text on Background

Black text readability test with #B20522

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 #B20522 */
--color-hex: #B20522;
--color-rgb: rgb(178, 5, 34);
--color-hsl: hsl(350deg, 95%, 36%);

Adjacent HEX Color Codes

Copied!