#31271D color
The hex color #31271D is a very dark, desaturated orange.
In the RGB color model it is made of 19.2% red, 15.3% green and 11.4% blue (49, 39, 29).
Its hue angle is 30°, with 26% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 41% yellow and 81% black.
The closest named color is Wood Bark (#302621), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.6:1).
#31271D color codes
| HEX | #31271D | |
|---|---|---|
| RGB | rgb(49, 39, 29) | |
| RGB percent | rgb(19.2%, 15.3%, 11.4%) | |
| HSL | hsl(30, 26%, 15%) | |
| HSV / HSB | hsv(30, 41%, 19%) | |
| CMYK | cmyk(0%, 20%, 41%, 81%) | |
| CIE LAB | lab(16.47, 2.85, 8.37) | |
| CIE LCH | lch(16.47, 8.84, 71.22) | |
| CIE XYZ | xyz(2.214, 2.193, 1.469) | |
| Decimal | 3221277 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31271D, 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 #31271D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.6:1 | Pass | Pass | Pass |
| #31271D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.6:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #31271D looks to people with the most common types of color vision deficiency.
#2a271cProtanopia
no red cones#2d2a1dDeuteranopia
no green cones#342524Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #31271d; }
.text { color: #31271d; }
.border { border: 2px solid #31271d; }
.transparent { background-color: rgb(49 39 29 / 50%); }
.gradient { background: linear-gradient(to right, #31271d, #31311d); }
Similar colors
#302621Wood Bark#3c2f23Cola#271b10Burnt Coffee#312b27Noir#393227Creole#3d322eSix Feet Under#332f2cHoly Crow#1f180aNoir Mystique
Closest common color name: Taupe.
Questions
- What color is #31271D?
- #31271D is a very dark, desaturated orange, closest to the named color Wood Bark. It belongs to the black family of colors.
- What is the RGB value of #31271D?
- The RGB value is 49, 39, 29: 49 red, 39 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #31271D?
- The complementary color is #1D2731, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31271D?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.6:1. WCAG asks for at least 4.5:1 for normal text.