#1A1B12 color
The hex color #1A1B12 is a very dark, grayish yellow.
In the RGB color model it is made of 10.2% red, 10.6% green and 7.1% blue (26, 27, 18).
Its hue angle is 67°, with 20% saturation and 9% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 33% yellow and 89% black.
The closest named color is Underworld (#1E231C), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.36:1).
#1A1B12 color codes
| HEX | #1A1B12 | |
|---|---|---|
| RGB | rgb(26, 27, 18) | |
| RGB percent | rgb(10.2%, 10.6%, 7.1%) | |
| HSL | hsl(67, 20%, 9%) | |
| HSV / HSB | hsv(67, 33%, 11%) | |
| CMYK | cmyk(4%, 0%, 33%, 89%) | |
| CIE LAB | lab(9.38, -2.56, 5.79) | |
| CIE LCH | lch(9.38, 6.33, 113.82) | |
| CIE XYZ | xyz(0.927, 1.047, 0.725) | |
| Decimal | 1710866 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A1B12, 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 #1A1B12 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.36:1 | Pass | Pass | Pass |
| #1A1B12 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.36:1 | Pass | Pass | Pass |
| Sample text | 1.21: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 #1A1B12 looks to people with the most common types of color vision deficiency.
#1c1a11Protanopia
no red cones#1c1a12Deuteranopia
no green cones#1b1a19Tritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #1a1b12; }
.text { color: #1a1b12; }
.border { border: 2px solid #1a1b12; }
.transparent { background-color: rgb(26 27 18 / 50%); }
.gradient { background: linear-gradient(to right, #1a1b12, #151b12); }
Similar colors
#1e231cUnderworld#191916Twilight Zone#091101Memorial Black#1c1c1aCoco’s Black#161410King Kong#12110eSinister#121210Glimpse Into Space#041108Jedi Night
Closest common color name: Off Black.
Questions
- What color is #1A1B12?
- #1A1B12 is a very dark, grayish yellow, closest to the named color Underworld. It belongs to the black family of colors.
- What is the RGB value of #1A1B12?
- The RGB value is 26, 27, 18: 26 red, 27 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #1A1B12?
- The complementary color is #13121B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A1B12?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.36:1. WCAG asks for at least 4.5:1 for normal text.