#181A1A color
The hex color #181A1A is a dark gray.
In the RGB color model it is made of 9.4% red, 10.2% green and 10.2% blue (24, 26, 26).
Its hue angle is 180°, with 4% saturation and 10% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 0% yellow and 90% black.
The closest named color is Dark Moon (#161718), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.48:1).
#181A1A color codes
| HEX | #181A1A | |
|---|---|---|
| RGB | rgb(24, 26, 26) | |
| RGB percent | rgb(9.4%, 10.2%, 10.2%) | |
| HSL | hsl(180, 4%, 10%) | |
| HSV / HSB | hsv(180, 8%, 10%) | |
| CMYK | cmyk(8%, 0%, 0%, 90%) | |
| CIE LAB | lab(9.05, -0.95, -0.33) | |
| CIE LCH | lch(9.05, 1.01, 199.12) | |
| CIE XYZ | xyz(0.932, 1.008, 1.122) | |
| Decimal | 1579546 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #181A1A, 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 #181A1A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.2:1 | Fail | Fail | Fail |
| Sample text | 17.48:1 | Pass | Pass | Pass |
| #181A1A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.48:1 | Pass | Pass | Pass |
| Sample text | 1.2: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 #181A1A looks to people with the most common types of color vision deficiency.
#1a1a1aProtanopia
no red cones#19191aDeuteranopia
no green cones#171a1aTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #181a1a; }
.text { color: #181a1a; }
.border { border: 2px solid #181a1a; }
.transparent { background-color: rgb(24 26 26 / 50%); }
.gradient { background: linear-gradient(to right, #181a1a, #18191a); }
Similar colors
#161718Dark Moon#1c1c1aCoco’s Black#151515Matt Black#141414Sooty#191916Twilight Zone#131313Cursed Black#1c1e21Satin Deep Black#151517Dark Void
Closest common color name: Off Black.
Questions
- What color is #181A1A?
- #181A1A is a dark gray, closest to the named color Dark Moon. It belongs to the black family of colors.
- What is the RGB value of #181A1A?
- The RGB value is 24, 26, 26: 24 red, 26 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #181A1A?
- The complementary color is #1A1818, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #181A1A?
- White text. Black text has a contrast ratio of 1.2:1 and white text 17.48:1. WCAG asks for at least 4.5:1 for normal text.