#1A0F1D color
The hex color #1A0F1D is a very dark, desaturated magenta.
In the RGB color model it is made of 10.2% red, 5.9% green and 11.4% blue (26, 15, 29).
Its hue angle is 287°, with 32% saturation and 9% lightness. For print, the CMYK equivalent is 10% cyan, 48% magenta, 0% yellow and 89% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.58:1).
#1A0F1D color codes
| HEX | #1A0F1D | |
|---|---|---|
| RGB | rgb(26, 15, 29) | |
| RGB percent | rgb(10.2%, 5.9%, 11.4%) | |
| HSL | hsl(287, 32%, 9%) | |
| HSV / HSB | hsv(287, 48%, 11%) | |
| CMYK | cmyk(10%, 48%, 0%, 89%) | |
| CIE LAB | lab(5.87, 8.22, -7.34) | |
| CIE LCH | lch(5.87, 11.02, 318.24) | |
| CIE XYZ | xyz(0.819, 0.65, 1.244) | |
| Decimal | 1707805 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A0F1D, 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 #1A0F1D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.58:1 | Pass | Pass | Pass |
| #1A0F1D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.58:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #1A0F1D looks to people with the most common types of color vision deficiency.
#0d121eProtanopia
no red cones#10131dDeuteranopia
no green cones#1a1114Tritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #1a0f1d; }
.text { color: #1a0f1d; }
.border { border: 2px solid #1a0f1d; }
.transparent { background-color: rgb(26 15 29 / 50%); }
.gradient { background: linear-gradient(to right, #1a0f1d, #1d0f19); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#150811Noir Fiction#1a161dViolet Void#111122Corbeau#16141cBack in Black#060313Obsidian Shard
Closest common color name: Licorice.
Questions
- What color is #1A0F1D?
- #1A0F1D is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #1A0F1D?
- The RGB value is 26, 15, 29: 26 red, 15 green and 29 blue on a 0 to 255 scale.
- What is the complementary color of #1A0F1D?
- The complementary color is #121D0F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A0F1D?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.58:1. WCAG asks for at least 4.5:1 for normal text.