#34212E color
The hex color #34212E is a very dark, grayish magenta.
In the RGB color model it is made of 20.4% red, 12.9% green and 18% blue (52, 33, 46).
Its hue angle is 319°, with 22% saturation and 17% lightness. For print, the CMYK equivalent is 0% cyan, 37% magenta, 12% yellow and 80% 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 14.97:1).
#34212E color codes
| HEX | #34212E | |
|---|---|---|
| RGB | rgb(52, 33, 46) | |
| RGB percent | rgb(20.4%, 12.9%, 18%) | |
| HSL | hsl(319, 22%, 17%) | |
| HSV / HSB | hsv(319, 37%, 20%) | |
| CMYK | cmyk(0%, 37%, 12%, 80%) | |
| CIE LAB | lab(15.57, 11.7, -4.92) | |
| CIE LCH | lch(15.57, 12.69, 337.21) | |
| CIE XYZ | xyz(2.453, 2.015, 2.844) | |
| Decimal | 3416366 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34212E, 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 #34212E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.97:1 | Pass | Pass | Pass |
| #34212E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.97:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #34212E looks to people with the most common types of color vision deficiency.
#22252fProtanopia
no red cones#26282dDeuteranopia
no green cones#362126Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #34212e; }
.text { color: #34212e; }
.border { border: 2px solid #34212e; }
.transparent { background-color: rgb(52 33 46 / 50%); }
.gradient { background: linear-gradient(to right, #34212e, #342124); }
Similar colors
#2c1620Black Cherry#342931Melanzane#372528Aubergine#443240Voodoo#44232fCastro#34282cSmoky Charcoal#492a34Wine Tasting#301934Dark Purple
Questions
- What color is #34212E?
- #34212E is a very dark, grayish magenta, closest to the named color Black Cherry. It belongs to the gray family of colors.
- What is the RGB value of #34212E?
- The RGB value is 52, 33, 46: 52 red, 33 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #34212E?
- The complementary color is #213427, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34212E?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.97:1. WCAG asks for at least 4.5:1 for normal text.