#181918 color
The hex color #181918 is a dark gray.
In the RGB color model it is made of 9.4% red, 9.8% green and 9.4% blue (24, 25, 24).
Its hue angle is 120°, with 2% saturation and 10% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 4% yellow and 90% black.
The closest named color is Coco’s Black (#1C1C1A), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.63:1).
#181918 color codes
| HEX | #181918 | |
|---|---|---|
| RGB | rgb(24, 25, 24) | |
| RGB percent | rgb(9.4%, 9.8%, 9.4%) | |
| HSL | hsl(120, 2%, 10%) | |
| HSV / HSB | hsv(120, 4%, 10%) | |
| CMYK | cmyk(4%, 0%, 4%, 90%) | |
| CIE LAB | lab(8.61, -0.74, 0.53) | |
| CIE LCH | lch(8.61, 0.91, 144.29) | |
| CIE XYZ | xyz(0.889, 0.955, 1.002) | |
| Decimal | 1579288 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181918, 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 #181918 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.19:1 | Fail | Fail | Fail |
| Sample text | 17.63:1 | Pass | Pass | Pass |
| #181918 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.63:1 | Pass | Pass | Pass |
| Sample text | 1.19: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 #181918 looks to people with the most common types of color vision deficiency.
#191918Protanopia
no red cones#191918Deuteranopia
no green cones#181919Tritanopia
no blue cones#191919Achromatopsia
no color vision
CSS examples
.background { background-color: #181918; }
.text { color: #181918; }
.border { border: 2px solid #181918; }
.transparent { background-color: rgb(24 25 24 / 50%); }
.gradient { background: linear-gradient(to right, #181918, #181918); }
Similar colors
#1c1c1aCoco’s Black#191916Twilight Zone#151515Matt Black#161718Dark Moon#141414Sooty#131313Cursed Black#121210Glimpse Into Space#141311Dark Veil
Closest common color name: Off Black.
Questions
- What color is #181918?
- #181918 is a dark gray, closest to the named color Coco’s Black. It belongs to the black family of colors.
- What is the RGB value of #181918?
- The RGB value is 24, 25, 24: 24 red, 25 green and 24 blue on a 0 to 255 scale.
- What is the complementary color of #181918?
- The complementary color is #191819, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181918?
- White text. Black text has a contrast ratio of 1.19:1 and white text 17.63:1. WCAG asks for at least 4.5:1 for normal text.