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