#1A1018 color
The hex color #1A1018 is a very dark, grayish magenta.
In the RGB color model it is made of 10.2% red, 6.3% green and 9.4% blue (26, 16, 24).
Its hue angle is 312°, with 24% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 38% magenta, 8% yellow and 90% black.
The closest named color is Noir Fiction (#150811), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.56:1).
#1A1018 color codes
| HEX | #1A1018 | |
|---|---|---|
| RGB | rgb(26, 16, 24) | |
| RGB percent | rgb(10.2%, 6.3%, 9.4%) | |
| HSL | hsl(312, 24%, 8%) | |
| HSV / HSB | hsv(312, 38%, 10%) | |
| CMYK | cmyk(0%, 38%, 8%, 90%) | |
| CIE LAB | lab(5.93, 6.25, -3.37) | |
| CIE LCH | lch(5.93, 7.1, 331.68) | |
| CIE XYZ | xyz(0.776, 0.656, 0.95) | |
| Decimal | 1708056 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A1018, 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 #1A1018 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.56:1 | Pass | Pass | Pass |
| #1A1018 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.56:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #1A1018 looks to people with the most common types of color vision deficiency.
#101218Protanopia
no red cones#121418Deuteranopia
no green cones#1b1013Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #1a1018; }
.text { color: #1a1018; }
.border { border: 2px solid #1a1018; }
.transparent { background-color: rgb(26 16 24 / 50%); }
.gradient { background: linear-gradient(to right, #1a1018, #1a1013); }
Similar colors
#150811Noir Fiction#180614Crow#1f1518Bats Cloak#1a161dViolet Void#110011Glossy Black#201b20Night Demons#16141cBack in Black#1b1212Licorice
Questions
- What color is #1A1018?
- #1A1018 is a very dark, grayish magenta, closest to the named color Noir Fiction. It belongs to the black family of colors.
- What is the RGB value of #1A1018?
- The RGB value is 26, 16, 24: 26 red, 16 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #1A1018?
- The complementary color is #101A12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A1018?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.56:1. WCAG asks for at least 4.5:1 for normal text.