#2D1E2E color
The hex color #2D1E2E is a very dark, grayish magenta.
In the RGB color model it is made of 17.6% red, 11.8% green and 18% blue (45, 30, 46).
Its hue angle is 296°, with 21% saturation and 15% lightness. For print, the CMYK equivalent is 2% cyan, 35% magenta, 0% yellow and 82% black.
The closest named color is Black Cherry (#2C1620), a difference of 5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.71:1).
#2D1E2E color codes
| HEX | #2D1E2E | |
|---|---|---|
| RGB | rgb(45, 30, 46) | |
| RGB percent | rgb(17.6%, 11.8%, 18%) | |
| HSL | hsl(296, 21%, 15%) | |
| HSV / HSB | hsv(296, 35%, 18%) | |
| CMYK | cmyk(2%, 35%, 0%, 82%) | |
| CIE LAB | lab(13.73, 10.79, -7.78) | |
| CIE LCH | lch(13.73, 13.3, 324.19) | |
| CIE XYZ | xyz(2.04, 1.684, 2.802) | |
| Decimal | 2956846 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D1E2E, 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 #2D1E2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.71:1 | Pass | Pass | Pass |
| #2D1E2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.71:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #2D1E2E looks to people with the most common types of color vision deficiency.
#1d222fProtanopia
no red cones#20242dDeuteranopia
no green cones#2e1f24Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #2d1e2e; }
.text { color: #2d1e2e; }
.border { border: 2px solid #2d1e2e; }
.transparent { background-color: rgb(45 30 46 / 50%); }
.gradient { background: linear-gradient(to right, #2d1e2e, #2e1e27); }
Similar colors
#2c1620Black Cherry#1d0d1dShot in the Dark#301934Dark Purple#342931Melanzane#443240Voodoo#34282cSmoky Charcoal#180614Crow#222233Black Velvet
Questions
- What color is #2D1E2E?
- #2D1E2E is a very dark, grayish magenta, closest to the named color Black Cherry. It belongs to the purple family of colors.
- What is the RGB value of #2D1E2E?
- The RGB value is 45, 30, 46: 45 red, 30 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #2D1E2E?
- The complementary color is #1F2E1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D1E2E?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.71:1. WCAG asks for at least 4.5:1 for normal text.