#0C070E color
The hex color #0C070E is a very dark, desaturated magenta.
In the RGB color model it is made of 4.7% red, 2.7% green and 5.5% blue (12, 7, 14).
Its hue angle is 283°, with 33% saturation and 4% lightness. For print, the CMYK equivalent is 14% cyan, 50% magenta, 0% yellow and 95% black.
The closest named color is Midnight Oil (#0B0C14), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.96:1).
#0C070E color codes
| HEX | #0C070E | |
|---|---|---|
| RGB | rgb(12, 7, 14) | |
| RGB percent | rgb(4.7%, 2.7%, 5.5%) | |
| HSL | hsl(283, 33%, 4%) | |
| HSV / HSB | hsv(283, 50%, 5%) | |
| CMYK | cmyk(14%, 50%, 0%, 95%) | |
| CIE LAB | lab(2.37, 2.38, -2.36) | |
| CIE LCH | lch(2.37, 3.35, 315.24) | |
| CIE XYZ | xyz(0.307, 0.262, 0.45) | |
| Decimal | 788238 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C070E, 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 #0C070E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 19.96:1 | Pass | Pass | Pass |
| #0C070E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.96: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 #0C070E looks to people with the most common types of color vision deficiency.
#06080eProtanopia
no red cones#07090eDeuteranopia
no green cones#0c0809Tritanopia
no blue cones#090909Achromatopsia
no color vision
CSS examples
.background { background-color: #0c070e; }
.text { color: #0c070e; }
.border { border: 2px solid #0c070e; }
.transparent { background-color: rgb(12 7 14 / 50%); }
.gradient { background: linear-gradient(to right, #0c070e, #0e070c); }
Similar colors
#0b0c14Midnight Oil#080813Narwhal Gray#030205Raven’s Coat#0b0c10Midnight Black#0f0707Knight Rider#03050aEight Ball#0f0d0dBlack Sheep#0f1012Ruined Smores
Questions
- What color is #0C070E?
- #0C070E is a very dark, desaturated magenta, closest to the named color Midnight Oil. It belongs to the black family of colors.
- What is the RGB value of #0C070E?
- The RGB value is 12, 7, 14: 12 red, 7 green and 14 blue on a 0 to 255 scale.
- What is the complementary color of #0C070E?
- The complementary color is #090E07, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C070E?
- White text. Black text has a contrast ratio of 1.05:1 and white text 19.96:1. WCAG asks for at least 4.5:1 for normal text.