#B7271B color
The hex color #B7271B is a moderate red.
In the RGB color model it is made of 71.8% red, 15.3% green and 10.6% blue (183, 39, 27).
Its hue angle is 5°, with 74% saturation and 41% lightness. For print, the CMYK equivalent is 0% cyan, 79% magenta, 85% yellow and 28% black.
The closest named color is Bloodshed (#BA271A), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.33:1).
#B7271B color codes
| HEX | #B7271B | |
|---|---|---|
| RGB | rgb(183, 39, 27) | |
| RGB percent | rgb(71.8%, 15.3%, 10.6%) | |
| HSL | hsl(5, 74%, 41%) | |
| HSV / HSB | hsv(5, 85%, 72%) | |
| CMYK | cmyk(0%, 79%, 85%, 28%) | |
| CIE LAB | lab(40.57, 55.77, 43.08) | |
| CIE LCH | lch(40.57, 70.47, 37.68) | |
| CIE XYZ | xyz(20.454, 11.601, 2.199) | |
| Decimal | 12003099 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B7271B, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #B7271B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.32:1 | Fail | Fail | Pass |
| Sample text | 6.33:1 | Pass | Fail | Pass |
| #B7271B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.33:1 | Pass | Fail | Pass |
| Sample text | 3.32:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #B7271B looks to people with the most common types of color vision deficiency.
#554b17Protanopia
no red cones#786b12Deuteranopia
no green cones#ca0026Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #b7271b; }
.text { color: #b7271b; }
.border { border: 2px solid #b7271b; }
.transparent { background-color: rgb(183 39 27 / 50%); }
.gradient { background: linear-gradient(to right, #b7271b, #b7751b); }
Similar colors
#ba271aBloodshed#bf1818Heartwarming#b6321eSmouldering#ae2719Joyous Red#bb1e1eRed Inferno#b52923Upset Tomato#b71010Federation of Love#b21d1dSiren Scarlet
Closest common color name: Firebrick.
Questions
- What color is #B7271B?
- #B7271B is a moderate red, closest to the named color Bloodshed. It belongs to the red family of colors.
- What is the RGB value of #B7271B?
- The RGB value is 183, 39, 27: 183 red, 39 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #B7271B?
- The complementary color is #1BABB7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B7271B?
- White text. Black text has a contrast ratio of 3.32:1 and white text 6.33:1. WCAG asks for at least 4.5:1 for normal text.