#0A0C04 color
The hex color #0A0C04 is a black.
In the RGB color model it is made of 3.9% red, 4.7% green and 1.6% blue (10, 12, 4).
Its hue angle is 75°, with 50% saturation and 3% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 67% yellow and 95% black.
The closest named color is Sinister (#12110E), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.68:1).
#0A0C04 color codes
| HEX | #0A0C04 | |
|---|---|---|
| RGB | rgb(10, 12, 4) | |
| RGB percent | rgb(3.9%, 4.7%, 1.6%) | |
| HSL | hsl(75, 50%, 3%) | |
| HSV / HSB | hsv(75, 67%, 5%) | |
| CMYK | cmyk(17%, 0%, 67%, 95%) | |
| CIE LAB | lab(3.04, -1.68, 2.88) | |
| CIE LCH | lch(3.04, 3.33, 120.3) | |
| CIE XYZ | xyz(0.279, 0.336, 0.165) | |
| Decimal | 658436 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0A0C04, 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 #0A0C04 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.68:1 | Pass | Pass | Pass |
| #0A0C04 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.68:1 | Pass | Pass | Pass |
| Sample text | 1.07: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 #0A0C04 looks to people with the most common types of color vision deficiency.
#0d0b04Protanopia
no red cones#0d0b04Deuteranopia
no green cones#0b0b0aTritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #0a0c04; }
.text { color: #0a0c04; }
.border { border: 2px solid #0a0c04; }
.transparent { background-color: rgb(10 12 4 / 50%); }
.gradient { background: linear-gradient(to right, #0a0c04, #060c04); }
Similar colors
#12110eSinister#121210Glimpse Into Space#161410King Kong#141311Dark Veil#050301Raven Black#0b0b0bRaven#0c0c0cBlack Wash#0f0f0fOff Black
Questions
- What color is #0A0C04?
- #0A0C04 is a black, closest to the named color Sinister. It belongs to the black family of colors.
- What is the RGB value of #0A0C04?
- The RGB value is 10, 12, 4: 10 red, 12 green and 4 blue on a 0 to 255 scale.
- What is the complementary color of #0A0C04?
- The complementary color is #06040C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A0C04?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.68:1. WCAG asks for at least 4.5:1 for normal text.