#18161A color
The hex color #18161A is a very dark, grayish violet.
In the RGB color model it is made of 9.4% red, 8.6% green and 10.2% blue (24, 22, 26).
Its hue angle is 270°, with 8% saturation and 9% lightness. For print, the CMYK equivalent is 8% cyan, 15% magenta, 0% yellow and 90% black.
The closest named color is Piano Black (#17171A), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.97:1).
#18161A color codes
| HEX | #18161A | |
|---|---|---|
| RGB | rgb(24, 22, 26) | |
| RGB percent | rgb(9.4%, 8.6%, 10.2%) | |
| HSL | hsl(270, 8%, 9%) | |
| HSV / HSB | hsv(270, 15%, 10%) | |
| CMYK | cmyk(8%, 15%, 0%, 90%) | |
| CIE LAB | lab(7.61, 2.01, -2.46) | |
| CIE LCH | lch(7.61, 3.18, 309.29) | |
| CIE XYZ | xyz(0.85, 0.843, 1.095) | |
| Decimal | 1578522 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18161A, 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 #18161A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.17:1 | Fail | Fail | Fail |
| Sample text | 17.97:1 | Pass | Pass | Pass |
| #18161A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.97:1 | Pass | Pass | Pass |
| Sample text | 1.17: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 #18161A looks to people with the most common types of color vision deficiency.
#15171aProtanopia
no red cones#16171aDeuteranopia
no green cones#181617Tritanopia
no blue cones#171717Achromatopsia
no color vision
CSS examples
.background { background-color: #18161a; }
.text { color: #18161a; }
.border { border: 2px solid #18161a; }
.transparent { background-color: rgb(24 22 26 / 50%); }
.gradient { background: linear-gradient(to right, #18161a, #1a161a); }
Similar colors
#17171aPiano Black#16161dEigengrau#151517Dark Void#1a161dViolet Void#16141cBack in Black#201b20Night Demons#1e1e21Inkwell Inception#0b0c14Midnight Oil
Closest common color name: Midnight Black.
Questions
- What color is #18161A?
- #18161A is a very dark, grayish violet, closest to the named color Piano Black. It belongs to the black family of colors.
- What is the RGB value of #18161A?
- The RGB value is 24, 22, 26: 24 red, 22 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #18161A?
- The complementary color is #181A16, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18161A?
- White text. Black text has a contrast ratio of 1.17:1 and white text 17.97:1. WCAG asks for at least 4.5:1 for normal text.