#1A081C color
The hex color #1A081C is a very dark, moderate magenta.
In the RGB color model it is made of 10.2% red, 3.1% green and 11% blue (26, 8, 28).
Its hue angle is 294°, with 56% saturation and 7% lightness. For print, the CMYK equivalent is 7% cyan, 71% magenta, 0% yellow and 89% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.17:1).
#1A081C color codes
| HEX | #1A081C | |
|---|---|---|
| RGB | rgb(26, 8, 28) | |
| RGB percent | rgb(10.2%, 3.1%, 11%) | |
| HSL | hsl(294, 56%, 7%) | |
| HSV / HSB | hsv(294, 71%, 11%) | |
| CMYK | cmyk(7%, 71%, 0%, 89%) | |
| CIE LAB | lab(4.31, 11.02, -8.89) | |
| CIE LCH | lch(4.31, 14.16, 321.08) | |
| CIE XYZ | xyz(0.722, 0.477, 1.152) | |
| Decimal | 1706012 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A081C, 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 #1A081C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.17:1 | Pass | Pass | Pass |
| #1A081C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.17:1 | Pass | Pass | Pass |
| Sample text | 1.1: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 #1A081C looks to people with the most common types of color vision deficiency.
#060e1dProtanopia
no red cones#0b101bDeuteranopia
no green cones#1b0a10Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #1a081c; }
.text { color: #1a081c; }
.border { border: 2px solid #1a081c; }
.transparent { background-color: rgb(26 8 28 / 50%); }
.gradient { background: linear-gradient(to right, #1a081c, #1c0814); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#150811Noir Fiction#2c1620Black Cherry#220011Belladonna#220022Black Sabbath#301934Dark Purple
Questions
- What color is #1A081C?
- #1A081C 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 #1A081C?
- The RGB value is 26, 8, 28: 26 red, 8 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of #1A081C?
- The complementary color is #0A1C08, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A081C?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.17:1. WCAG asks for at least 4.5:1 for normal text.