#2D222C color
The hex color #2D222C is a very dark, grayish magenta.
In the RGB color model it is made of 17.6% red, 13.3% green and 17.3% blue (45, 34, 44).
Its hue angle is 305°, with 14% saturation and 15% lightness. For print, the CMYK equivalent is 0% cyan, 24% magenta, 2% yellow and 82% black.
The closest named color is Melanzane (#342931), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.25:1).
#2D222C color codes
| HEX | #2D222C | |
|---|---|---|
| RGB | rgb(45, 34, 44) | |
| RGB percent | rgb(17.6%, 13.3%, 17.3%) | |
| HSL | hsl(305, 14%, 15%) | |
| HSV / HSB | hsv(305, 24%, 18%) | |
| CMYK | cmyk(0%, 24%, 2%, 82%) | |
| CIE LAB | lab(14.87, 7.46, -4.63) | |
| CIE LCH | lch(14.87, 8.78, 328.15) | |
| CIE XYZ | xyz(2.109, 1.884, 2.635) | |
| Decimal | 2957868 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D222C, 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 #2D222C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.25:1 | Pass | Pass | Pass |
| #2D222C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.25:1 | Pass | Pass | Pass |
| Sample text | 1.38: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 #2D222C looks to people with the most common types of color vision deficiency.
#22252cProtanopia
no red cones#24262cDeuteranopia
no green cones#2e2325Tritanopia
no blue cones#252525Achromatopsia
no color vision
CSS examples
.background { background-color: #2d222c; }
.text { color: #2d222c; }
.border { border: 2px solid #2d222c; }
.transparent { background-color: rgb(45 34 44 / 50%); }
.gradient { background: linear-gradient(to right, #2d222c, #2d2226); }
Similar colors
#342931Melanzane#34282cSmoky Charcoal#352b30Mystical Shadow#252024Ink Black#201b20Night Demons#2c2a35Haiti#372528Aubergine#1f1518Bats Cloak
Closest common color name: Licorice.
Questions
- What color is #2D222C?
- #2D222C is a very dark, grayish magenta, closest to the named color Melanzane. It belongs to the black family of colors.
- What is the RGB value of #2D222C?
- The RGB value is 45, 34, 44: 45 red, 34 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #2D222C?
- The complementary color is #222D23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D222C?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.25:1. WCAG asks for at least 4.5:1 for normal text.