#18051A color
The hex color #18051A is a very dark, moderate magenta.
In the RGB color model it is made of 9.4% red, 2% green and 10.2% blue (24, 5, 26).
Its hue angle is 294°, with 68% saturation and 6% lightness. For print, the CMYK equivalent is 8% cyan, 81% magenta, 0% yellow and 90% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.53:1).
#18051A color codes
| HEX | #18051A | |
|---|---|---|
| RGB | rgb(24, 5, 26) | |
| RGB percent | rgb(9.4%, 2%, 10.2%) | |
| HSL | hsl(294, 68%, 6%) | |
| HSV / HSB | hsv(294, 81%, 10%) | |
| CMYK | cmyk(8%, 81%, 0%, 90%) | |
| CIE LAB | lab(3.41, 10.6, -8.66) | |
| CIE LCH | lch(3.41, 13.69, 320.74) | |
| CIE XYZ | xyz(0.617, 0.377, 1.017) | |
| Decimal | 1574170 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #18051A, 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 #18051A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.53:1 | Pass | Pass | Pass |
| #18051A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.53:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #18051A looks to people with the most common types of color vision deficiency.
#030b1bProtanopia
no red cones#080d19Deuteranopia
no green cones#19070eTritanopia
no blue cones#0c0c0cAchromatopsia
no color vision
CSS examples
.background { background-color: #18051a; }
.text { color: #18051a; }
.border { border: 2px solid #18051a; }
.transparent { background-color: rgb(24 5 26 / 50%); }
.gradient { background: linear-gradient(to right, #18051a, #1a0511); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#150811Noir Fiction#220011Belladonna#2c1620Black Cherry#111122Corbeau#220022Black Sabbath
Closest common color name: Dark Purple.
Questions
- What color is #18051A?
- #18051A is a very dark, moderate magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #18051A?
- The RGB value is 24, 5, 26: 24 red, 5 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #18051A?
- The complementary color is #071A05, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #18051A?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.53:1. WCAG asks for at least 4.5:1 for normal text.