#1A1217 color
The hex color #1A1217 is a very dark, grayish rose.
In the RGB color model it is made of 10.2% red, 7.1% green and 9% blue (26, 18, 23).
Its hue angle is 323°, with 18% saturation and 9% lightness. For print, the CMYK equivalent is 0% cyan, 31% magenta, 12% yellow and 90% black.
The closest named color is Bats Cloak (#1F1518), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 18.38:1).
#1A1217 color codes
| HEX | #1A1217 | |
|---|---|---|
| RGB | rgb(26, 18, 23) | |
| RGB percent | rgb(10.2%, 7.1%, 9%) | |
| HSL | hsl(323, 18%, 9%) | |
| HSV / HSB | hsv(323, 31%, 10%) | |
| CMYK | cmyk(0%, 31%, 12%, 90%) | |
| CIE LAB | lab(6.45, 4.84, -1.84) | |
| CIE LCH | lch(6.45, 5.18, 339.18) | |
| CIE XYZ | xyz(0.797, 0.714, 0.906) | |
| Decimal | 1708567 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1A1217, 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 #1A1217 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.14:1 | Fail | Fail | Fail |
| Sample text | 18.38:1 | Pass | Pass | Pass |
| #1A1217 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.38:1 | Pass | Pass | Pass |
| Sample text | 1.14: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 #1A1217 looks to people with the most common types of color vision deficiency.
#121417Protanopia
no red cones#141517Deuteranopia
no green cones#1b1214Tritanopia
no blue cones#141414Achromatopsia
no color vision
CSS examples
.background { background-color: #1a1217; }
.text { color: #1a1217; }
.border { border: 2px solid #1a1217; }
.transparent { background-color: rgb(26 18 23 / 50%); }
.gradient { background: linear-gradient(to right, #1a1217, #1a1213); }
Similar colors
#1f1518Bats Cloak#150811Noir Fiction#1a161dViolet Void#201b20Night Demons#1b1212Licorice#1a1110Scandinavian Liquorice#16141cBack in Black#110101Dark Matter
Questions
- What color is #1A1217?
- #1A1217 is a very dark, grayish rose, closest to the named color Bats Cloak. It belongs to the black family of colors.
- What is the RGB value of #1A1217?
- The RGB value is 26, 18, 23: 26 red, 18 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #1A1217?
- The complementary color is #121A15, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1A1217?
- White text. Black text has a contrast ratio of 1.14:1 and white text 18.38:1. WCAG asks for at least 4.5:1 for normal text.