HEX Color Conversion

Hex Color Code #B9050B — RGB & HSL Conversions

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

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

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

In the digital sRGB color space, the hex value #B9050B is converted to RGB values of Red: 185, Green: 5, and Blue: 11. When analyzed under the HSL model, its coordinates correspond to hue angle 358°, 95% saturation, and 37% lightness. This makes it visually a dark, rich color with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #B9050B

When converting #B9050B for CMYK printing, the color separation consists of 0% Cyan, 97% Magenta, 94% Yellow, and 27% key/black. Given its red-channel dominance, this color is a powerful visual stimulator often deployed in banners, call-to-actions, and warning components.

Red Channel 185
Green Channel 5
Blue Channel 11
Luminance 0.104

HEX #B9050B Color Space Conversions

Click to copy format
HEX Color Code #B9050B
RGB (Red Green Blue) rgb(185, 5, 11)
HSL (Hue Sat Light) hsl(358°, 95%, 37%)
CMYK (Commercial Print) cmyk(0%, 97%, 94%, 27%)
HSV / HSB Values hsv(358°, 97%, 73%)
Decimal Color Code 12125451
CSS Custom Variable --color-hex: #B9050B;
Tailwind CSS Utility bg-[#B9050B]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #B9050B

Small body copy preview

Black Text on Background

Black text readability test with #B9050B

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 #B9050B */
--color-hex: #B9050B;
--color-rgb: rgb(185, 5, 11);
--color-hsl: hsl(358deg, 95%, 37%);

Adjacent HEX Color Codes

Copied!