#0F0A0C color
The hex color #0F0A0C is a very dark, grayish rose.
In the RGB color model it is made of 5.9% red, 3.9% green and 4.7% blue (15, 10, 12).
Its hue angle is 336°, with 20% saturation and 5% lightness. For print, the CMYK equivalent is 0% cyan, 33% magenta, 20% yellow and 94% black.
The closest named color is Knight Rider (#0F0707), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.64:1).
#0F0A0C color codes
| HEX | #0F0A0C | |
|---|---|---|
| RGB | rgb(15, 10, 12) | |
| RGB percent | rgb(5.9%, 3.9%, 4.7%) | |
| HSL | hsl(336, 20%, 5%) | |
| HSV / HSB | hsv(336, 33%, 6%) | |
| CMYK | cmyk(0%, 33%, 20%, 94%) | |
| CIE LAB | lab(3.12, 1.79, -0.27) | |
| CIE LCH | lch(3.12, 1.81, 351.42) | |
| CIE XYZ | xyz(0.372, 0.345, 0.395) | |
| Decimal | 985612 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0F0A0C, 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 #0F0A0C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.64:1 | Pass | Pass | Pass |
| #0F0A0C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.64: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 #0F0A0C looks to people with the most common types of color vision deficiency.
#0a0b0cProtanopia
no red cones#0c0c0cDeuteranopia
no green cones#100a0bTritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #0f0a0c; }
.text { color: #0f0a0c; }
.border { border: 2px solid #0f0a0c; }
.transparent { background-color: rgb(15 10 12 / 50%); }
.gradient { background: linear-gradient(to right, #0f0a0c, #0f0b0a); }
Similar colors
#0f0707Knight Rider#0f0d0dBlack Sheep#030205Raven’s Coat#0a0502Liquorice#0b0b0bRaven#0c0c0cBlack Wash#0b0c10Midnight Black#0f0f0fOff Black
Questions
- What color is #0F0A0C?
- #0F0A0C is a very dark, grayish rose, closest to the named color Knight Rider. It belongs to the black family of colors.
- What is the RGB value of #0F0A0C?
- The RGB value is 15, 10, 12: 15 red, 10 green and 12 blue on a 0 to 255 scale.
- What is the complementary color of #0F0A0C?
- The complementary color is #0A0F0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0F0A0C?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.64:1. WCAG asks for at least 4.5:1 for normal text.