#18001B color
The hex color #18001B is a very dark, vivid magenta.
In the RGB color model it is made of 9.4% red, 0% green and 10.6% blue (24, 0, 27).
Its hue angle is 293°, with 100% saturation and 5% lightness. For print, the CMYK equivalent is 11% cyan, 100% magenta, 0% yellow and 89% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.91:1).
#18001B color codes
| HEX | #18001B | |
|---|---|---|
| RGB | rgb(24, 0, 27) | |
| RGB percent | rgb(9.4%, 0%, 10.6%) | |
| HSL | hsl(293, 100%, 5%) | |
| HSV / HSB | hsv(293, 100%, 11%) | |
| CMYK | cmyk(11%, 100%, 0%, 89%) | |
| CIE LAB | lab(2.47, 12.89, -10.85) | |
| CIE LCH | lch(2.47, 16.85, 319.91) | |
| CIE XYZ | xyz(0.575, 0.273, 1.059) | |
| Decimal | 1572891 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18001B, 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 #18001B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 19.91:1 | Pass | Pass | Pass |
| #18001B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.91:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #18001B looks to people with the most common types of color vision deficiency.
#00071cProtanopia
no red cones#030a1aDeuteranopia
no green cones#19030bTritanopia
no blue cones#090909Achromatopsia
no color vision
CSS examples
.background { background-color: #18001b; }
.text { color: #18001b; }
.border { border: 2px solid #18001b; }
.transparent { background-color: rgb(24 0 27 / 50%); }
.gradient { background: linear-gradient(to right, #18001b, #1b0010); }
Similar colors
#1d0d1dShot in the Dark#220022Black Sabbath#180614Crow#110011Glossy Black#2b0f2eDark Prom Queen#220011Belladonna#1c0f33Midnight Monarch#301934Dark Purple
Questions
- What color is #18001B?
- #18001B is a very dark, vivid magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #18001B?
- The RGB value is 24, 0, 27: 24 red, 0 green and 27 blue on a 0 to 255 scale.
- What is the complementary color of #18001B?
- The complementary color is #031B00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18001B?
- White text. Black text has a contrast ratio of 1.05:1 and white text 19.91:1. WCAG asks for at least 4.5:1 for normal text.