#17171A color
The hex color #17171A is a dark gray.
In the RGB color model it is made of 9% red, 9% green and 10.2% blue (23, 23, 26).
Its hue angle is 240°, with 6% saturation and 10% lightness. For print, the CMYK equivalent is 12% cyan, 12% magenta, 0% yellow and 90% black.
This exact color is also called Piano Black.
White text is the more readable choice on this background (contrast 17.89:1).
#17171A color codes
| HEX | #17171A | |
|---|---|---|
| RGB | rgb(23, 23, 26) | |
| RGB percent | rgb(9%, 9%, 10.2%) | |
| HSL | hsl(240, 6%, 10%) | |
| HSV / HSB | hsv(240, 12%, 10%) | |
| CMYK | cmyk(12%, 12%, 0%, 90%) | |
| CIE LAB | lab(7.85, 0.81, -2.11) | |
| CIE LCH | lch(7.85, 2.26, 290.91) | |
| CIE XYZ | xyz(0.846, 0.87, 1.1) | |
| Decimal | 1513242 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #17171A, 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 #17171A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.89:1 | Pass | Pass | Pass |
| #17171A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.89:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #17171A looks to people with the most common types of color vision deficiency.
#16171aProtanopia
no red cones#16171aDeuteranopia
no green cones#161718Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #17171a; }
.text { color: #17171a; }
.border { border: 2px solid #17171a; }
.transparent { background-color: rgb(23 23 26 / 50%); }
.gradient { background: linear-gradient(to right, #17171a, #18171a); }
Similar colors
#151517Dark Void#161718Dark Moon#1e1e21Inkwell Inception#0f1012Ruined Smores#151515Matt Black#141414Sooty#1c1e21Satin Deep Black#131313Cursed Black
Closest common color name: Midnight Black.
Questions
- What color is #17171A?
- #17171A is a dark gray known as Piano Black. It belongs to the black family of colors.
- What is the RGB value of #17171A?
- The RGB value is 23, 23, 26: 23 red, 23 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #17171A?
- The complementary color is #1A1A17, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #17171A?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.89:1. WCAG asks for at least 4.5:1 for normal text.