#1B0407 color
The hex color #1B0407 is a very dark, moderate red.
In the RGB color model it is made of 10.6% red, 1.6% green and 2.7% blue (27, 4, 7).
Its hue angle is 352°, with 74% saturation and 6% lightness. For print, the CMYK equivalent is 0% cyan, 85% magenta, 74% yellow and 89% black.
The closest named color is Dwarf Fortress (#1D0200), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.68:1).
#1B0407 color codes
| HEX | #1B0407 | |
|---|---|---|
| RGB | rgb(27, 4, 7) | |
| RGB percent | rgb(10.6%, 1.6%, 2.7%) | |
| HSL | hsl(352, 74%, 6%) | |
| HSV / HSB | hsv(352, 85%, 11%) | |
| CMYK | cmyk(0%, 85%, 74%, 89%) | |
| CIE LAB | lab(3.03, 8.81, 1.82) | |
| CIE LCH | lch(3.03, 9, 11.69) | |
| CIE XYZ | xyz(0.534, 0.335, 0.238) | |
| Decimal | 1770503 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1B0407, 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 #1B0407 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.68:1 | Pass | Pass | Pass |
| #1B0407 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.68:1 | Pass | Pass | Pass |
| Sample text | 1.07: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 #1B0407 looks to people with the most common types of color vision deficiency.
#080807Protanopia
no red cones#0f0d07Deuteranopia
no green cones#1e0205Tritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #1b0407; }
.text { color: #1b0407; }
.border { border: 2px solid #1b0407; }
.transparent { background-color: rgb(27 4 7 / 50%); }
.gradient { background: linear-gradient(to right, #1b0407, #1b0c04); }
Similar colors
#1d0200Dwarf Fortress#221111Italian Roast#110101Dark Matter#1f1518Bats Cloak#150811Noir Fiction#180614Crow#1b1212Licorice#1a1110Scandinavian Liquorice
Questions
- What color is #1B0407?
- #1B0407 is a very dark, moderate red, closest to the named color Dwarf Fortress. It belongs to the black family of colors.
- What is the RGB value of #1B0407?
- The RGB value is 27, 4, 7: 27 red, 4 green and 7 blue on a 0 to 255 scale.
- What is the complementary color of #1B0407?
- The complementary color is #041B18, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1B0407?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.68:1. WCAG asks for at least 4.5:1 for normal text.