#26171A color
The hex color #26171A is a very dark, grayish red.
In the RGB color model it is made of 14.9% red, 9% green and 10.2% blue (38, 23, 26).
Its hue angle is 348°, with 25% saturation and 12% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 32% yellow and 85% black.
The closest named color is Italian Roast (#221111), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.21:1).
#26171A color codes
| HEX | #26171A | |
|---|---|---|
| RGB | rgb(38, 23, 26) | |
| RGB percent | rgb(14.9%, 9%, 10.2%) | |
| HSL | hsl(348, 25%, 12%) | |
| HSV / HSB | hsv(348, 39%, 15%) | |
| CMYK | cmyk(0%, 39%, 32%, 85%) | |
| CIE LAB | lab(9.79, 8.15, 0.96) | |
| CIE LCH | lch(9.79, 8.21, 6.72) | |
| CIE XYZ | xyz(1.292, 1.1, 1.121) | |
| Decimal | 2496282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #26171A, 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 #26171A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.21:1 | Pass | Pass | Pass |
| #26171A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.21: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 #26171A looks to people with the most common types of color vision deficiency.
#19191aProtanopia
no red cones#1d1c1aDeuteranopia
no green cones#291618Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #26171a; }
.text { color: #26171a; }
.border { border: 2px solid #26171a; }
.transparent { background-color: rgb(38 23 26 / 50%); }
.gradient { background: linear-gradient(to right, #26171a, #261b17); }
Similar colors
#221111Italian Roast#1f1518Bats Cloak#251b19Dark Orchestra#1b1212Licorice#372528Aubergine#2c1620Black Cherry#1d0200Dwarf Fortress#1a1110Scandinavian Liquorice
Questions
- What color is #26171A?
- #26171A is a very dark, grayish red, closest to the named color Italian Roast. It belongs to the black family of colors.
- What is the RGB value of #26171A?
- The RGB value is 38, 23, 26: 38 red, 23 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #26171A?
- The complementary color is #172623, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #26171A?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.21:1. WCAG asks for at least 4.5:1 for normal text.