#18121A color
The hex color #18121A is a very dark, grayish magenta.
In the RGB color model it is made of 9.4% red, 7.1% green and 10.2% blue (24, 18, 26).
Its hue angle is 285°, with 18% saturation and 9% lightness. For print, the CMYK equivalent is 8% cyan, 31% magenta, 0% yellow and 90% black.
The closest named color is Violet Void (#1A161D), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.42:1).
#18121A color codes
| HEX | #18121A | |
|---|---|---|
| RGB | rgb(24, 18, 26) | |
| RGB percent | rgb(9.4%, 7.1%, 10.2%) | |
| HSL | hsl(285, 18%, 9%) | |
| HSV / HSB | hsv(285, 31%, 10%) | |
| CMYK | cmyk(8%, 31%, 0%, 90%) | |
| CIE LAB | lab(6.34, 4.62, -4.35) | |
| CIE LCH | lch(6.34, 6.34, 316.73) | |
| CIE XYZ | xyz(0.779, 0.701, 1.071) | |
| Decimal | 1577498 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18121A, 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 #18121A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.42:1 | Pass | Pass | Pass |
| #18121A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.42:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #18121A looks to people with the most common types of color vision deficiency.
#11141aProtanopia
no red cones#12141aDeuteranopia
no green cones#181315Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #18121a; }
.text { color: #18121a; }
.border { border: 2px solid #18121a; }
.transparent { background-color: rgb(24 18 26 / 50%); }
.gradient { background: linear-gradient(to right, #18121a, #1a1218); }
Similar colors
#1a161dViolet Void#16141cBack in Black#150811Noir Fiction#201b20Night Demons#16161dEigengrau#1f1518Bats Cloak#060313Obsidian Shard#110011Glossy Black
Closest common color name: Licorice.
Questions
- What color is #18121A?
- #18121A 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 #18121A?
- The RGB value is 24, 18, 26: 24 red, 18 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #18121A?
- The complementary color is #141A12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18121A?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.42:1. WCAG asks for at least 4.5:1 for normal text.