#340D1D color
The hex color #340D1D is a very dark, moderate rose.
In the RGB color model it is made of 20.4% red, 5.1% green and 11.4% blue (52, 13, 29).
Its hue angle is 335°, with 60% saturation and 13% lightness. For print, the CMYK equivalent is 0% cyan, 75% magenta, 44% yellow and 80% black.
The closest named color is Chocolate Kiss (#3C1421), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.19:1).
#340D1D color codes
| HEX | #340D1D | |
|---|---|---|
| RGB | rgb(52, 13, 29) | |
| RGB percent | rgb(20.4%, 5.1%, 11.4%) | |
| HSL | hsl(335, 60%, 13%) | |
| HSV / HSB | hsv(335, 75%, 20%) | |
| CMYK | cmyk(0%, 75%, 44%, 80%) | |
| CIE LAB | lab(9.85, 21.4, -0.93) | |
| CIE LCH | lch(9.85, 21.42, 357.52) | |
| CIE XYZ | xyz(1.782, 1.107, 1.282) | |
| Decimal | 3411229 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #340D1D, 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 #340D1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.19:1 | Pass | Pass | Pass |
| #340D1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.19:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #340D1D looks to people with the most common types of color vision deficiency.
#14171dProtanopia
no red cones#1e1e1cDeuteranopia
no green cones#390913Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #340d1d; }
.text { color: #340d1d; }
.border { border: 2px solid #340d1d; }
.transparent { background-color: rgb(52 13 29 / 50%); }
.gradient { background: linear-gradient(to right, #340d1d, #34100d); }
Similar colors
#3c1421Chocolate Kiss#3e1825Black-Hearted#441122What We Do in the Shadows#3b1921Bruised Plum#43182fBlackberry#220011Belladonna#330022Vienna Roast#2c1620Black Cherry
Closest common color name: Dark Purple.
Questions
- What color is #340D1D?
- #340D1D 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 #340D1D?
- The RGB value is 52, 13, 29: 52 red, 13 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #340D1D?
- The complementary color is #0D3424, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #340D1D?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.19:1. WCAG asks for at least 4.5:1 for normal text.