#1A121D color
The hex color #1A121D is a very dark, grayish magenta.
In the RGB color model it is made of 10.2% red, 7.1% green and 11.4% blue (26, 18, 29).
Its hue angle is 284°, with 23% saturation and 9% lightness. For print, the CMYK equivalent is 10% cyan, 38% magenta, 0% yellow and 89% black.
The closest named color is Violet Void (#1A161D), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.29:1).
#1A121D color codes
| HEX | #1A121D | |
|---|---|---|
| RGB | rgb(26, 18, 29) | |
| RGB percent | rgb(10.2%, 7.1%, 11.4%) | |
| HSL | hsl(284, 23%, 9%) | |
| HSV / HSB | hsv(284, 38%, 11%) | |
| CMYK | cmyk(10%, 38%, 0%, 89%) | |
| CIE LAB | lab(6.69, 6.54, -6.11) | |
| CIE LCH | lch(6.69, 8.95, 316.95) | |
| CIE XYZ | xyz(0.864, 0.741, 1.26) | |
| Decimal | 1708573 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A121D, 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 #1A121D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.15:1 | Fail | Fail | Fail |
| Sample text | 18.29:1 | Pass | Pass | Pass |
| #1A121D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.29:1 | Pass | Pass | Pass |
| Sample text | 1.15: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 #1A121D looks to people with the most common types of color vision deficiency.
#11141dProtanopia
no red cones#12151dDeuteranopia
no green cones#1a1316Tritanopia
no blue cones#151515Achromatopsia
no color vision
CSS examples
.background { background-color: #1a121d; }
.text { color: #1a121d; }
.border { border: 2px solid #1a121d; }
.transparent { background-color: rgb(26 18 29 / 50%); }
.gradient { background: linear-gradient(to right, #1a121d, #1d121a); }
Similar colors
#1a161dViolet Void#110011Glossy Black#180614Crow#150811Noir Fiction#16141cBack in Black#1d0d1dShot in the Dark#201b20Night Demons#1f1518Bats Cloak
Closest common color name: Licorice.
Questions
- What color is #1A121D?
- #1A121D is a very dark, grayish magenta, closest to the named color Violet Void. It belongs to the black family of colors.
- What is the RGB value of #1A121D?
- The RGB value is 26, 18, 29: 26 red, 18 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #1A121D?
- The complementary color is #151D12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A121D?
- White text. Black text has a contrast ratio of 1.15:1 and white text 18.29:1. WCAG asks for at least 4.5:1 for normal text.