#18151D color
The hex color #18151D is a very dark, grayish violet.
In the RGB color model it is made of 9.4% red, 8.2% green and 11.4% blue (24, 21, 29).
Its hue angle is 263°, with 16% saturation and 10% lightness. For print, the CMYK equivalent is 17% cyan, 28% magenta, 0% yellow and 89% black.
The closest named color is Back in Black (#16141C), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.04:1).
#18151D color codes
| HEX | #18151D | |
|---|---|---|
| RGB | rgb(24, 21, 29) | |
| RGB percent | rgb(9.4%, 8.2%, 11.4%) | |
| HSL | hsl(263, 16%, 10%) | |
| HSV / HSB | hsv(263, 28%, 11%) | |
| CMYK | cmyk(17%, 28%, 0%, 89%) | |
| CIE LAB | lab(7.4, 3.59, -5.07) | |
| CIE LCH | lch(7.4, 6.21, 305.33) | |
| CIE XYZ | xyz(0.867, 0.819, 1.275) | |
| Decimal | 1578269 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18151D, 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 #18151D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.16:1 | Fail | Fail | Fail |
| Sample text | 18.04:1 | Pass | Pass | Pass |
| #18151D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.04: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 #18151D looks to people with the most common types of color vision deficiency.
#14161dProtanopia
no red cones#14161dDeuteranopia
no green cones#171618Tritanopia
no blue cones#161616Achromatopsia
no color vision
CSS examples
.background { background-color: #18151d; }
.text { color: #18151d; }
.border { border: 2px solid #18151d; }
.transparent { background-color: rgb(24 21 29 / 50%); }
.gradient { background: linear-gradient(to right, #18151d, #1c151d); }
Similar colors
#16141cBack in Black#1a161dViolet Void#16161dEigengrau#201b20Night Demons#080813Narwhal Gray#060313Obsidian Shard#0b0c14Midnight Oil#17171aPiano Black
Closest common color name: Midnight Black.
Questions
- What color is #18151D?
- #18151D 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 #18151D?
- The RGB value is 24, 21, 29: 24 red, 21 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #18151D?
- The complementary color is #1A1D15, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18151D?
- White text. Black text has a contrast ratio of 1.16:1 and white text 18.04:1. WCAG asks for at least 4.5:1 for normal text.