Skip to content

#B40822 Color

#B40822 is rgb(180, 8, 34) in RGB, hsl(351, 91%, 37%) in HSL, and about cmyk(0%, 96%, 81%, 29%) in CMYK. It has no registered color name of its own — the closest is Wine Red (#B11226), very hard to tell apart at ΔE 3.43. White text is the more readable choice on this background.

#B40822
HEX#B40822
RGBrgb(180, 8, 34)
HSLhsl(351, 91%, 37%)
HSVhsv(351, 96%, 71%)
CMYKcmyk(0%, 96%, 81%, 29%)
OKLCHoklch(48.8% 0.194 23.8)
LABlab(38.60% 61.74 38.23)
LCHlch(38.60% 72.62 31.77)

What #B40822 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #B40822, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every red in the library.

#B40822 Channel Values

How #B40822 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 180 · G 8 · B 348-bit channels as sent to the display
HSLH 351° · S 91% · L 37%Easiest model for building lighter and darker variants
HSVH 351° · S 96% · V 71%Matches the picker in most design tools
CMYKC 0% · M 96% · Y 81% · K 29%Approximate ink mix; confirm with an ICC profile before printing
Luminance7:1 vs white · 3:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #B40822 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text7:1AA normal AA large AAA normal
Fails AABlack text3:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #B40822 in the contrast checker.

Colors That Go With #B40822

Pairings derived from color-wheel relationships. The complementary color sits opposite #B40822; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #B40822

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #B40822.

How #B40822 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#B40822
Protanopia#50501F
Protanomaly#843E20
Deuteranopia#6D6D0B
Deuteranomaly#8F5617
Tritanopia#B40D0D
Tritanomaly#B40B18
Achromatopsia#595959

Test a full palette in the color blindness simulator.

Using #B40822 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-b40822: #B40822;
CSS backgroundbackground-color: #B40822;
Tailwind configcolors: { 'color-b40822': '#B40822' }
SwiftUIColor(red: 0.706, green: 0.031, blue: 0.133)
Android XML<color name="color_b40822">#B40822</color>
SVG fillfill="#B40822"

More Red Colors

#B40822 sits in the red family. These are its neighbours across that family's full range, each with its own breakdown.

#B40822 Frequently Asked Questions

What color is #B40822?

#B40822 is a dark red — rgb(180, 8, 34) in RGB and hsl(351, 91%, 37%) in HSL. It carries no registered color name of its own; the closest named color is Wine Red (#B11226), which is very hard to tell apart at a CIE76 distance of 3.43.

What is the RGB value of #B40822?

#B40822 is rgb(180, 8, 34) — red 180, green 8, and blue 34 on the 0-255 scale.

What is the CMYK value of #B40822?

#B40822 converts to approximately cmyk(0%, 96%, 81%, 29%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #B40822 be black or white?

White text is the more readable choice. #B40822 scores 7:1 against white and 3:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #B40822 as a CSS color keyword?

No. #B40822 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is firebrick (#B22222) at a CIE76 distance of 5.39, which is clearly related but distinguishable side by side.

Open #B40822 in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.