#170D1A color
The hex color #170D1A is a very dark, desaturated magenta.
In the RGB color model it is made of 9% red, 5.1% green and 10.2% blue (23, 13, 26).
Its hue angle is 286°, with 33% saturation and 8% lightness. For print, the CMYK equivalent is 12% cyan, 50% magenta, 0% yellow and 90% black.
The closest named color is Glossy Black (#110011), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.94:1).
#170D1A color codes
| HEX | #170D1A | |
|---|---|---|
| RGB | rgb(23, 13, 26) | |
| RGB percent | rgb(9%, 5.1%, 10.2%) | |
| HSL | hsl(286, 33%, 8%) | |
| HSV / HSB | hsv(286, 50%, 10%) | |
| CMYK | cmyk(12%, 50%, 0%, 90%) | |
| CIE LAB | lab(4.92, 6.8, -6.45) | |
| CIE LCH | lch(4.92, 9.38, 316.52) | |
| CIE XYZ | xyz(0.684, 0.545, 1.046) | |
| Decimal | 1510682 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #170D1A, 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 #170D1A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.11:1 | Fail | Fail | Fail |
| Sample text | 18.94:1 | Pass | Pass | Pass |
| #170D1A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.94:1 | Pass | Pass | Pass |
| Sample text | 1.11: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 #170D1A looks to people with the most common types of color vision deficiency.
#0b101aProtanopia
no red cones#0e111aDeuteranopia
no green cones#170f12Tritanopia
no blue cones#111111Achromatopsia
no color vision
CSS examples
.background { background-color: #170d1a; }
.text { color: #170d1a; }
.border { border: 2px solid #170d1a; }
.transparent { background-color: rgb(23 13 26 / 50%); }
.gradient { background: linear-gradient(to right, #170d1a, #1a0d16); }
Similar colors
#110011Glossy Black#180614Crow#150811Noir Fiction#1d0d1dShot in the Dark#1a161dViolet Void#16141cBack in Black#060313Obsidian Shard#111122Corbeau
Closest common color name: Licorice.
Questions
- What color is #170D1A?
- #170D1A is a very dark, desaturated magenta, closest to the named color Glossy Black. It belongs to the black family of colors.
- What is the RGB value of #170D1A?
- The RGB value is 23, 13, 26: 23 red, 13 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #170D1A?
- The complementary color is #101A0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #170D1A?
- White text. Black text has a contrast ratio of 1.11:1 and white text 18.94:1. WCAG asks for at least 4.5:1 for normal text.