#1A1717 color
The hex color #1A1717 is a dark gray.
In the RGB color model it is made of 10.2% red, 9% green and 9% blue (26, 23, 23).
Its hue angle is 0°, with 6% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 12% yellow and 90% black.
The closest named color is Matt Black (#151515), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.81:1).
#1A1717 color codes
| HEX | #1A1717 | |
|---|---|---|
| RGB | rgb(26, 23, 23) | |
| RGB percent | rgb(10.2%, 9%, 9%) | |
| HSL | hsl(0, 6%, 10%) | |
| HSV / HSB | hsv(0, 12%, 10%) | |
| CMYK | cmyk(0%, 12%, 12%, 90%) | |
| CIE LAB | lab(8.08, 1.49, 0.53) | |
| CIE LCH | lch(8.08, 1.58, 19.77) | |
| CIE XYZ | xyz(0.887, 0.894, 0.936) | |
| Decimal | 1709847 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A1717, 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 #1A1717 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.81:1 | Pass | Pass | Pass |
| #1A1717 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.81:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #1A1717 looks to people with the most common types of color vision deficiency.
#171717Protanopia
no red cones#181817Deuteranopia
no green cones#1b1717Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #1a1717; }
.text { color: #1a1717; }
.border { border: 2px solid #1a1717; }
.transparent { background-color: rgb(26 23 23 / 50%); }
.gradient { background: linear-gradient(to right, #1a1717, #1a1817); }
Similar colors
#151515Matt Black#211e1fUmbra#151517Dark Void#141414Sooty#131313Cursed Black#141311Dark Veil#17171aPiano Black#161718Dark Moon
Closest common color name: Off Black.
Questions
- What color is #1A1717?
- #1A1717 is a dark gray, closest to the named color Matt Black. It belongs to the black family of colors.
- What is the RGB value of #1A1717?
- The RGB value is 26, 23, 23: 26 red, 23 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #1A1717?
- The complementary color is #171A1A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A1717?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.81:1. WCAG asks for at least 4.5:1 for normal text.