#2F1F2B color
The hex color #2F1F2B is a very dark, grayish magenta.
In the RGB color model it is made of 18.4% red, 12.2% green and 16.9% blue (47, 31, 43).
Its hue angle is 315°, with 21% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 34% magenta, 9% yellow and 82% black.
The closest named color is Black Cherry (#2C1620), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.54:1).
#2F1F2B color codes
| HEX | #2F1F2B | |
|---|---|---|
| RGB | rgb(47, 31, 43) | |
| RGB percent | rgb(18.4%, 12.2%, 16.9%) | |
| HSL | hsl(315, 21%, 15%) | |
| HSV / HSB | hsv(315, 34%, 18%) | |
| CMYK | cmyk(0%, 34%, 9%, 82%) | |
| CIE LAB | lab(14.17, 10.23, -4.94) | |
| CIE LCH | lch(14.17, 11.36, 334.24) | |
| CIE XYZ | xyz(2.098, 1.759, 2.514) | |
| Decimal | 3088171 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F1F2B, 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 #2F1F2B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.35:1 | Fail | Fail | Fail |
| Sample text | 15.54:1 | Pass | Pass | Pass |
| #2F1F2B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.54:1 | Pass | Pass | Pass |
| Sample text | 1.35: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 #2F1F2B looks to people with the most common types of color vision deficiency.
#1f232bProtanopia
no red cones#23252bDeuteranopia
no green cones#312023Tritanopia
no blue cones#242424Achromatopsia
no color vision
CSS examples
.background { background-color: #2f1f2b; }
.text { color: #2f1f2b; }
.border { border: 2px solid #2f1f2b; }
.transparent { background-color: rgb(47 31 43 / 50%); }
.gradient { background: linear-gradient(to right, #2f1f2b, #2f1f23); }
Similar colors
#2c1620Black Cherry#342931Melanzane#372528Aubergine#34282cSmoky Charcoal#1d0d1dShot in the Dark#352b30Mystical Shadow#443240Voodoo#301934Dark Purple
Questions
- What color is #2F1F2B?
- #2F1F2B is a very dark, grayish magenta, closest to the named color Black Cherry. It belongs to the black family of colors.
- What is the RGB value of #2F1F2B?
- The RGB value is 47, 31, 43: 47 red, 31 green and 43 blue on a 0 to 255 scale.
- What is the complementary color of #2F1F2B?
- The complementary color is #1F2F23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F1F2B?
- White text. Black text has a contrast ratio of 1.35:1 and white text 15.54:1. WCAG asks for at least 4.5:1 for normal text.