#181816 color
The hex color #181816 is a dark gray.
In the RGB color model it is made of 9.4% red, 9.4% green and 8.6% blue (24, 24, 22).
Its hue angle is 60°, with 4% saturation and 9% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 8% yellow and 91% black.
The closest named color is Twilight Zone (#191916), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.78:1).
#181816 color codes
| HEX | #181816 | |
|---|---|---|
| RGB | rgb(24, 24, 22) | |
| RGB percent | rgb(9.4%, 9.4%, 8.6%) | |
| HSL | hsl(60, 4%, 9%) | |
| HSV / HSB | hsv(60, 8%, 9%) | |
| CMYK | cmyk(0%, 0%, 8%, 91%) | |
| CIE LAB | lab(8.18, -0.5, 1.38) | |
| CIE LCH | lch(8.18, 1.47, 110.02) | |
| CIE XYZ | xyz(0.848, 0.905, 0.889) | |
| Decimal | 1579030 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181816, 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 #181816 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.78:1 | Pass | Pass | Pass |
| #181816 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.78:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #181816 looks to people with the most common types of color vision deficiency.
#181816Protanopia
no red cones#181816Deuteranopia
no green cones#181817Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #181816; }
.text { color: #181816; }
.border { border: 2px solid #181816; }
.transparent { background-color: rgb(24 24 22 / 50%); }
.gradient { background: linear-gradient(to right, #181816, #171816); }
Similar colors
#191916Twilight Zone#1c1c1aCoco’s Black#141311Dark Veil#121210Glimpse Into Space#151515Matt Black#161410King Kong#141414Sooty#12110eSinister
Closest common color name: Off Black.
Questions
- What color is #181816?
- #181816 is a dark gray, closest to the named color Twilight Zone. It belongs to the black family of colors.
- What is the RGB value of #181816?
- The RGB value is 24, 24, 22: 24 red, 24 green and 22 blue on a 0 to 255 scale.
- What is the complementary color of #181816?
- The complementary color is #161618, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181816?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.78:1. WCAG asks for at least 4.5:1 for normal text.