#180A1A color
The hex color #180A1A is a very dark, desaturated magenta.
In the RGB color model it is made of 9.4% red, 3.9% green and 10.2% blue (24, 10, 26).
Its hue angle is 293°, with 44% saturation and 7% lightness. For print, the CMYK equivalent is 8% cyan, 62% magenta, 0% yellow and 90% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.14:1).
#180A1A color codes
| HEX | #180A1A | |
|---|---|---|
| RGB | rgb(24, 10, 26) | |
| RGB percent | rgb(9.4%, 3.9%, 10.2%) | |
| HSL | hsl(293, 44%, 7%) | |
| HSV / HSB | hsv(293, 62%, 10%) | |
| CMYK | cmyk(8%, 62%, 0%, 90%) | |
| CIE LAB | lab(4.39, 8.6, -7.22) | |
| CIE LCH | lch(4.39, 11.23, 319.97) | |
| CIE XYZ | xyz(0.672, 0.486, 1.035) | |
| Decimal | 1575450 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #180A1A, 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 #180A1A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.1:1 | Fail | Fail | Fail |
| Sample text | 19.14:1 | Pass | Pass | Pass |
| #180A1A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.14: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 #180A1A looks to people with the most common types of color vision deficiency.
#080e1bProtanopia
no red cones#0c101aDeuteranopia
no green cones#180c10Tritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #180a1a; }
.text { color: #180a1a; }
.border { border: 2px solid #180a1a; }
.transparent { background-color: rgb(24 10 26 / 50%); }
.gradient { background: linear-gradient(to right, #180a1a, #1a0a14); }
Similar colors
#1d0d1dShot in the Dark#180614Crow#110011Glossy Black#150811Noir Fiction#1a161dViolet Void#111122Corbeau#060313Obsidian Shard#16141cBack in Black
Closest common color name: Licorice.
Questions
- What color is #180A1A?
- #180A1A 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 #180A1A?
- The RGB value is 24, 10, 26: 24 red, 10 green and 26 blue on a 0 to 255 scale.
- What is the complementary color of #180A1A?
- The complementary color is #0C1A0A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #180A1A?
- White text. Black text has a contrast ratio of 1.1:1 and white text 19.14:1. WCAG asks for at least 4.5:1 for normal text.