#18151E color
The hex color #18151E is a very dark, grayish violet.
In the RGB color model it is made of 9.4% red, 8.2% green and 11.8% blue (24, 21, 30).
Its hue angle is 260°, with 18% saturation and 10% lightness. For print, the CMYK equivalent is 20% cyan, 30% magenta, 0% yellow and 88% black.
The closest named color is Back in Black (#16141C), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.03:1).
#18151E color codes
| HEX | #18151E | |
|---|---|---|
| RGB | rgb(24, 21, 30) | |
| RGB percent | rgb(9.4%, 8.2%, 11.8%) | |
| HSL | hsl(260, 18%, 10%) | |
| HSV / HSB | hsv(260, 30%, 12%) | |
| CMYK | cmyk(20%, 30%, 0%, 88%) | |
| CIE LAB | lab(7.45, 3.9, -5.76) | |
| CIE LCH | lch(7.45, 6.96, 304.09) | |
| CIE XYZ | xyz(0.879, 0.824, 1.341) | |
| Decimal | 1578270 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18151E, 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 #18151E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.03:1 | Pass | Pass | Pass |
| #18151E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.03:1 | Pass | Pass | Pass |
| Sample text | 1.16: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 #18151E looks to people with the most common types of color vision deficiency.
#13161eProtanopia
no red cones#14161eDeuteranopia
no green cones#171618Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #18151e; }
.text { color: #18151e; }
.border { border: 2px solid #18151e; }
.transparent { background-color: rgb(24 21 30 / 50%); }
.gradient { background: linear-gradient(to right, #18151e, #1d151e); }
Similar colors
#16141cBack in Black#1a161dViolet Void#16161dEigengrau#201b20Night Demons#060313Obsidian Shard#080813Narwhal Gray#0b0c14Midnight Oil#111122Corbeau
Closest common color name: Midnight Black.
Questions
- What color is #18151E?
- #18151E is a very dark, grayish violet, closest to the named color Back in Black. It belongs to the black family of colors.
- What is the RGB value of #18151E?
- The RGB value is 24, 21, 30: 24 red, 21 green and 30 blue on a 0 to 255 scale.
- What is the complementary color of #18151E?
- The complementary color is #1B1E15, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18151E?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.03:1. WCAG asks for at least 4.5:1 for normal text.