#5B161F color
The hex color #5B161F is a dark, moderate red.
In the RGB color model it is made of 35.7% red, 8.6% green and 12.2% blue (91, 22, 31).
Its hue angle is 352°, with 61% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 76% magenta, 66% yellow and 64% black.
The closest named color is Forbidden Passion (#661020), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.3:1).
#5B161F color codes
| HEX | #5B161F | |
|---|---|---|
| RGB | rgb(91, 22, 31) | |
| RGB percent | rgb(35.7%, 8.6%, 12.2%) | |
| HSL | hsl(352, 61%, 22%) | |
| HSV / HSB | hsv(352, 76%, 36%) | |
| CMYK | cmyk(0%, 76%, 66%, 64%) | |
| CIE LAB | lab(19.63, 31.87, 12.44) | |
| CIE LCH | lch(19.63, 34.21, 21.33) | |
| CIE XYZ | xyz(4.849, 2.898, 1.6) | |
| Decimal | 5969439 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5B161F, 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 #5B161F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.58:1 | Fail | Fail | Fail |
| Sample text | 13.3:1 | Pass | Pass | Pass |
| #5B161F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.3:1 | Pass | Pass | Pass |
| Sample text | 1.58:1 | Fail | Fail | Fail |
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 #5B161F looks to people with the most common types of color vision deficiency.
#28261fProtanopia
no red cones#3a351dDeuteranopia
no green cones#64041aTritanopia
no blue cones#2f2f2fAchromatopsia
no color vision
CSS examples
.background { background-color: #5b161f; }
.text { color: #5b161f; }
.border { border: 2px solid #5b161f; }
.transparent { background-color: rgb(91 22 31 / 50%); }
.gradient { background: linear-gradient(to right, #5b161f, #5b2f16); }
Similar colors
#661020Forbidden Passion#620b15Cherry Picking#650021Merguez#522426Lonestar#670728Plum Cheese#5f2c2fJazz#660011Darkest Dungeon#441111English Breakfast
Closest common color name: Oxblood.
Questions
- What color is #5B161F?
- #5B161F is a dark, moderate red, closest to the named color Forbidden Passion. It belongs to the red family of colors.
- What is the RGB value of #5B161F?
- The RGB value is 91, 22, 31: 91 red, 22 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #5B161F?
- The complementary color is #165B52, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5B161F?
- White text. Black text has a contrast ratio of 1.58:1 and white text 13.3:1. WCAG asks for at least 4.5:1 for normal text.