#0C0D0C color
The hex color #0C0D0C is a black.
In the RGB color model it is made of 4.7% red, 5.1% green and 4.7% blue (12, 13, 12).
Its hue angle is 120°, with 4% saturation and 5% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 8% yellow and 95% black.
The closest named color is Black Wash (#0C0C0C), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.47:1).
#0C0D0C color codes
| HEX | #0C0D0C | |
|---|---|---|
| RGB | rgb(12, 13, 12) | |
| RGB percent | rgb(4.7%, 5.1%, 4.7%) | |
| HSL | hsl(120, 4%, 5%) | |
| HSV / HSB | hsv(120, 8%, 5%) | |
| CMYK | cmyk(8%, 0%, 8%, 95%) | |
| CIE LAB | lab(3.55, -0.46, 0.33) | |
| CIE LCH | lch(3.55, 0.56, 144.44) | |
| CIE XYZ | xyz(0.362, 0.393, 0.404) | |
| Decimal | 789772 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C0D0C, 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 #0C0D0C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.08:1 | Fail | Fail | Fail |
| Sample text | 19.47:1 | Pass | Pass | Pass |
| #0C0D0C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.47:1 | Pass | Pass | Pass |
| Sample text | 1.08: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 #0C0D0C looks to people with the most common types of color vision deficiency.
#0d0d0cProtanopia
no red cones#0d0d0cDeuteranopia
no green cones#0c0d0dTritanopia
no blue cones#0d0d0dAchromatopsia
no color vision
CSS examples
.background { background-color: #0c0d0c; }
.text { color: #0c0d0c; }
.border { border: 2px solid #0c0d0c; }
.transparent { background-color: rgb(12 13 12 / 50%); }
.gradient { background: linear-gradient(to right, #0c0d0c, #0c0d0d); }
Similar colors
#0c0c0cBlack Wash#0b0b0bRaven#0f0f0fOff Black#111111Dreamless Sleep#121210Glimpse Into Space#060606Black Metal#131313Cursed Black#12110eSinister
Questions
- What color is #0C0D0C?
- #0C0D0C is a black, closest to the named color Black Wash. It belongs to the black family of colors.
- What is the RGB value of #0C0D0C?
- The RGB value is 12, 13, 12: 12 red, 13 green and 12 blue on a 0 to 255 scale.
- What is the complementary color of #0C0D0C?
- The complementary color is #0D0C0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C0D0C?
- White text. Black text has a contrast ratio of 1.08:1 and white text 19.47:1. WCAG asks for at least 4.5:1 for normal text.