#1F0C0D color
The hex color #1F0C0D is a very dark, desaturated red.
In the RGB color model it is made of 12.2% red, 4.7% green and 5.1% blue (31, 12, 13).
Its hue angle is 357°, with 44% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 61% magenta, 58% yellow and 88% black.
The closest named color is Italian Roast (#221111), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.81:1).
#1F0C0D color codes
| HEX | #1F0C0D | |
|---|---|---|
| RGB | rgb(31, 12, 13) | |
| RGB percent | rgb(12.2%, 4.7%, 5.1%) | |
| HSL | hsl(357, 44%, 8%) | |
| HSV / HSB | hsv(357, 61%, 12%) | |
| CMYK | cmyk(0%, 61%, 58%, 88%) | |
| CIE LAB | lab(5.27, 8.8, 2.61) | |
| CIE LCH | lch(5.27, 9.18, 16.52) | |
| CIE XYZ | xyz(0.769, 0.583, 0.453) | |
| Decimal | 2034701 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F0C0D, 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 #1F0C0D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.81:1 | Pass | Pass | Pass |
| #1F0C0D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.81:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #1F0C0D looks to people with the most common types of color vision deficiency.
#100f0dProtanopia
no red cones#15130dDeuteranopia
no green cones#220a0cTritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #1f0c0d; }
.text { color: #1f0c0d; }
.border { border: 2px solid #1f0c0d; }
.transparent { background-color: rgb(31 12 13 / 50%); }
.gradient { background: linear-gradient(to right, #1f0c0d, #1f150c); }
Similar colors
#221111Italian Roast#1d0200Dwarf Fortress#1f1518Bats Cloak#1b1212Licorice#110101Dark Matter#1a1110Scandinavian Liquorice#150811Noir Fiction#180614Crow
Questions
- What color is #1F0C0D?
- #1F0C0D is a very dark, desaturated red, closest to the named color Italian Roast. It belongs to the black family of colors.
- What is the RGB value of #1F0C0D?
- The RGB value is 31, 12, 13: 31 red, 12 green and 13 blue on a 0 to 255 scale.
- What is the complementary color of #1F0C0D?
- The complementary color is #0C1F1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F0C0D?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.81:1. WCAG asks for at least 4.5:1 for normal text.