#342027 color
The hex color #342027 is a very dark, grayish rose.
In the RGB color model it is made of 20.4% red, 12.5% green and 15.3% blue (52, 32, 39).
Its hue angle is 339°, with 24% saturation and 16% lightness. For print, the CMYK equivalent is 0% cyan, 38% magenta, 25% yellow and 80% black.
The closest named color is Aubergine (#372528), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 15.2:1).
#342027 color codes
| HEX | #342027 | |
|---|---|---|
| RGB | rgb(52, 32, 39) | |
| RGB percent | rgb(20.4%, 12.5%, 15.3%) | |
| HSL | hsl(339, 24%, 16%) | |
| HSV / HSB | hsv(339, 38%, 20%) | |
| CMYK | cmyk(0%, 38%, 25%, 80%) | |
| CIE LAB | lab(15.01, 10.95, -0.74) | |
| CIE LCH | lch(15.01, 10.98, 356.15) | |
| CIE XYZ | xyz(2.299, 1.91, 2.167) | |
| Decimal | 3416103 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #342027, 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 #342027 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.2:1 | Pass | Pass | Pass |
| #342027 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.2: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 #342027 looks to people with the most common types of color vision deficiency.
#222427Protanopia
no red cones#272727Deuteranopia
no green cones#371f22Tritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #342027; }
.text { color: #342027; }
.border { border: 2px solid #342027; }
.transparent { background-color: rgb(52 32 39 / 50%); }
.gradient { background: linear-gradient(to right, #342027, #342320); }
Similar colors
#372528Aubergine#2c1620Black Cherry#34282cSmoky Charcoal#342931Melanzane#3b2b2cHavana#44232fCastro#3b1921Bruised Plum#352b30Mystical Shadow
Closest common color name: Licorice.
Questions
- What color is #342027?
- #342027 is a very dark, grayish rose, closest to the named color Aubergine. It belongs to the black family of colors.
- What is the RGB value of #342027?
- The RGB value is 52, 32, 39: 52 red, 32 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #342027?
- The complementary color is #20342D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #342027?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.2:1. WCAG asks for at least 4.5:1 for normal text.