#340C1B color
The hex color #340C1B is a very dark, moderate rose.
In the RGB color model it is made of 20.4% red, 4.7% green and 10.6% blue (52, 12, 27).
Its hue angle is 338°, with 63% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 77% magenta, 48% yellow and 80% black.
The closest named color is Chocolate Kiss (#3C1421), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.29:1).
#340C1B color codes
| HEX | #340C1B | |
|---|---|---|
| RGB | rgb(52, 12, 27) | |
| RGB percent | rgb(20.4%, 4.7%, 10.6%) | |
| HSL | hsl(338, 63%, 13%) | |
| HSV / HSB | hsv(338, 77%, 20%) | |
| CMYK | cmyk(0%, 77%, 48%, 80%) | |
| CIE LAB | lab(9.58, 21.66, 0.2) | |
| CIE LCH | lch(9.58, 21.66, 0.53) | |
| CIE XYZ | xyz(1.746, 1.072, 1.152) | |
| Decimal | 3410971 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #340C1B, 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 #340C1B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.29:1 | Pass | Pass | Pass |
| #340C1B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.29:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #340C1B looks to people with the most common types of color vision deficiency.
#14161bProtanopia
no red cones#1e1d1aDeuteranopia
no green cones#390812Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #340c1b; }
.text { color: #340c1b; }
.border { border: 2px solid #340c1b; }
.transparent { background-color: rgb(52 12 27 / 50%); }
.gradient { background: linear-gradient(to right, #340c1b, #34110c); }
Similar colors
#3c1421Chocolate Kiss#3e1825Black-Hearted#441122What We Do in the Shadows#3b1921Bruised Plum#220011Belladonna#43182fBlackberry#2e0303Nether#2c1620Black Cherry
Closest common color name: Dark Purple.
Questions
- What color is #340C1B?
- #340C1B is a very dark, moderate rose, closest to the named color Chocolate Kiss. It belongs to the black family of colors.
- What is the RGB value of #340C1B?
- The RGB value is 52, 12, 27: 52 red, 12 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #340C1B?
- The complementary color is #0C3425, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #340C1B?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.29:1. WCAG asks for at least 4.5:1 for normal text.