#0D060C color
The hex color #0D060C is a black.
In the RGB color model it is made of 5.1% red, 2.4% green and 4.7% blue (13, 6, 12).
Its hue angle is 309°, with 37% saturation and 4% lightness. For print, the CMYK equivalent is 0% cyan, 54% magenta, 8% yellow and 95% black.
The closest named color is Knight Rider (#0F0707), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.03:1).
#0D060C color codes
| HEX | #0D060C | |
|---|---|---|
| RGB | rgb(13, 6, 12) | |
| RGB percent | rgb(5.1%, 2.4%, 4.7%) | |
| HSL | hsl(309, 37%, 4%) | |
| HSV / HSB | hsv(309, 54%, 5%) | |
| CMYK | cmyk(0%, 54%, 8%, 95%) | |
| CIE LAB | lab(2.19, 2.75, -1.64) | |
| CIE LCH | lch(2.19, 3.2, 329.11) | |
| CIE XYZ | xyz(0.297, 0.242, 0.379) | |
| Decimal | 853516 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0D060C, 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 #0D060C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 20.03:1 | Pass | Pass | Pass |
| #0D060C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.03:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #0D060C looks to people with the most common types of color vision deficiency.
#06070cProtanopia
no red cones#07080cDeuteranopia
no green cones#0e0608Tritanopia
no blue cones#080808Achromatopsia
no color vision
CSS examples
.background { background-color: #0d060c; }
.text { color: #0d060c; }
.border { border: 2px solid #0d060c; }
.transparent { background-color: rgb(13 6 12 / 50%); }
.gradient { background: linear-gradient(to right, #0d060c, #0d0609); }
Similar colors
#0f0707Knight Rider#030205Raven’s Coat#0b0c10Midnight Black#0b0c14Midnight Oil#080813Narwhal Gray#0f0d0dBlack Sheep#150811Noir Fiction#03050aEight Ball
Questions
- What color is #0D060C?
- #0D060C is a black, closest to the named color Knight Rider. It belongs to the black family of colors.
- What is the RGB value of #0D060C?
- The RGB value is 13, 6, 12: 13 red, 6 green and 12 blue on a 0 to 255 scale.
- What is the complementary color of #0D060C?
- The complementary color is #060D07, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0D060C?
- White text. Black text has a contrast ratio of 1.05:1 and white text 20.03:1. WCAG asks for at least 4.5:1 for normal text.