#170404 color
The hex color #170404 is a very dark, moderate red.
In the RGB color model it is made of 9% red, 1.6% green and 1.6% blue (23, 4, 4).
Its hue angle is 0°, with 70% saturation and 5% lightness. For print, the CMYK equivalent is 0% cyan, 83% magenta, 83% yellow and 91% black.
The closest named color is Dark Matter (#110101), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.89:1).
#170404 color codes
| HEX | #170404 | |
|---|---|---|
| RGB | rgb(23, 4, 4) | |
| RGB percent | rgb(9%, 1.6%, 1.6%) | |
| HSL | hsl(0, 70%, 5%) | |
| HSV / HSB | hsv(0, 83%, 9%) | |
| CMYK | cmyk(0%, 83%, 83%, 91%) | |
| CIE LAB | lab(2.51, 6.34, 2.23) | |
| CIE LCH | lch(2.51, 6.72, 19.41) | |
| CIE XYZ | xyz(0.419, 0.278, 0.146) | |
| Decimal | 1508356 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #170404, 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 #170404 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.89:1 | Pass | Pass | Pass |
| #170404 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.89:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #170404 looks to people with the most common types of color vision deficiency.
#080704Protanopia
no red cones#0d0b04Deuteranopia
no green cones#1a0204Tritanopia
no blue cones#090909Achromatopsia
no color vision
CSS examples
.background { background-color: #170404; }
.text { color: #170404; }
.border { border: 2px solid #170404; }
.transparent { background-color: rgb(23 4 4 / 50%); }
.gradient { background: linear-gradient(to right, #170404, #170e04); }
Similar colors
#110101Dark Matter#1b1212Licorice#1a1110Scandinavian Liquorice#1d0200Dwarf Fortress#221111Italian Roast#1f1518Bats Cloak#150811Noir Fiction#130a06Asphalt
Questions
- What color is #170404?
- #170404 is a very dark, moderate red, closest to the named color Dark Matter. It belongs to the black family of colors.
- What is the RGB value of #170404?
- The RGB value is 23, 4, 4: 23 red, 4 green and 4 blue on a 0 to 255 scale.
- What is the complementary color of #170404?
- The complementary color is #041717, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #170404?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.89:1. WCAG asks for at least 4.5:1 for normal text.