#31272C color
The hex color #31272C is a very dark, grayish rose.
In the RGB color model it is made of 19.2% red, 15.3% green and 17.3% blue (49, 39, 44).
Its hue angle is 330°, with 11% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 10% yellow and 81% black.
The closest named color is Smoky Charcoal (#34282C), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.41:1).
#31272C color codes
| HEX | #31272C | |
|---|---|---|
| RGB | rgb(49, 39, 44) | |
| RGB percent | rgb(19.2%, 15.3%, 17.3%) | |
| HSL | hsl(330, 11%, 17%) | |
| HSV / HSB | hsv(330, 20%, 19%) | |
| CMYK | cmyk(0%, 20%, 10%, 81%) | |
| CIE LAB | lab(16.92, 5.73, -1.52) | |
| CIE LCH | lch(16.92, 5.93, 345.12) | |
| CIE XYZ | xyz(2.447, 2.286, 2.695) | |
| Decimal | 3221292 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #31272C, 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 #31272C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.41:1 | Pass | Pass | Pass |
| #31272C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.41:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #31272C looks to people with the most common types of color vision deficiency.
#28292cProtanopia
no red cones#2a2a2cDeuteranopia
no green cones#332729Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #31272c; }
.text { color: #31272c; }
.border { border: 2px solid #31272c; }
.transparent { background-color: rgb(49 39 44 / 50%); }
.gradient { background: linear-gradient(to right, #31272c, #312727); }
Similar colors
#34282cSmoky Charcoal#352b30Mystical Shadow#342931Melanzane#252024Ink Black#3b2b2cHavana#3b2f2fSmoked Black Coffee#372528Aubergine#27252aDarth Vader
Closest common color name: Licorice.
Questions
- What color is #31272C?
- #31272C is a very dark, grayish rose, closest to the named color Smoky Charcoal. It belongs to the black family of colors.
- What is the RGB value of #31272C?
- The RGB value is 49, 39, 44: 49 red, 39 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #31272C?
- The complementary color is #27312C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #31272C?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.41:1. WCAG asks for at least 4.5:1 for normal text.