#0C020B color
The hex color #0C020B is a black.
In the RGB color model it is made of 4.7% red, 0.8% green and 4.3% blue (12, 2, 11).
Its hue angle is 306°, with 71% saturation and 3% lightness. For print, the CMYK equivalent is 0% cyan, 83% magenta, 8% yellow and 95% black.
The closest named color is Noir Fiction (#150811), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 20.41:1).
#0C020B color codes
| HEX | #0C020B | |
|---|---|---|
| RGB | rgb(12, 2, 11) | |
| RGB percent | rgb(4.7%, 0.8%, 4.3%) | |
| HSL | hsl(306, 71%, 3%) | |
| HSV / HSB | hsv(306, 83%, 5%) | |
| CMYK | cmyk(0%, 83%, 8%, 95%) | |
| CIE LAB | lab(1.32, 3.9, -2.48) | |
| CIE LCH | lch(1.32, 4.62, 327.5) | |
| CIE XYZ | xyz(0.234, 0.146, 0.332) | |
| Decimal | 786955 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C020B, 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 #0C020B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.03:1 | Fail | Fail | Fail |
| Sample text | 20.41:1 | Pass | Pass | Pass |
| #0C020B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.41:1 | Pass | Pass | Pass |
| Sample text | 1.03: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 #0C020B looks to people with the most common types of color vision deficiency.
#02040bProtanopia
no red cones#04050bDeuteranopia
no green cones#0d0305Tritanopia
no blue cones#050505Achromatopsia
no color vision
CSS examples
.background { background-color: #0c020b; }
.text { color: #0c020b; }
.border { border: 2px solid #0c020b; }
.transparent { background-color: rgb(12 2 11 / 50%); }
.gradient { background: linear-gradient(to right, #0c020b, #0c0206); }
Similar colors
#150811Noir Fiction#0f0707Knight Rider#110101Dark Matter#060313Obsidian Shard#080813Narwhal Gray#0b0c14Midnight Oil#110011Glossy Black#1a161dViolet Void
Closest common color name: Licorice.
Questions
- What color is #0C020B?
- #0C020B is a black, closest to the named color Noir Fiction. It belongs to the black family of colors.
- What is the RGB value of #0C020B?
- The RGB value is 12, 2, 11: 12 red, 2 green and 11 blue on a 0 to 255 scale.
- What is the complementary color of #0C020B?
- The complementary color is #020C03, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C020B?
- White text. Black text has a contrast ratio of 1.03:1 and white text 20.41:1. WCAG asks for at least 4.5:1 for normal text.