#120D12 color
The hex color #120D12 is a very dark, grayish magenta.
In the RGB color model it is made of 7.1% red, 5.1% green and 7.1% blue (18, 13, 18).
Its hue angle is 300°, with 16% saturation and 6% lightness. For print, the CMYK equivalent is 0% cyan, 28% magenta, 0% yellow and 93% black.
The closest named color is Knight Rider (#0F0707), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.23:1).
#120D12 color codes
| HEX | #120D12 | |
|---|---|---|
| RGB | rgb(18, 13, 18) | |
| RGB percent | rgb(7.1%, 5.1%, 7.1%) | |
| HSL | hsl(300, 16%, 6%) | |
| HSV / HSB | hsv(300, 28%, 7%) | |
| CMYK | cmyk(0%, 28%, 0%, 93%) | |
| CIE LAB | lab(4.16, 2.67, -1.91) | |
| CIE LCH | lch(4.16, 3.28, 324.44) | |
| CIE XYZ | xyz(0.503, 0.46, 0.634) | |
| Decimal | 1182994 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120D12, 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 #120D12 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.09:1 | Fail | Fail | Fail |
| Sample text | 19.23:1 | Pass | Pass | Pass |
| #120D12 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.23:1 | Pass | Pass | Pass |
| Sample text | 1.09: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 #120D12 looks to people with the most common types of color vision deficiency.
#0d0e12Protanopia
no red cones#0e0f12Deuteranopia
no green cones#120d0fTritanopia
no blue cones#0f0f0fAchromatopsia
no color vision
CSS examples
.background { background-color: #120d12; }
.text { color: #120d12; }
.border { border: 2px solid #120d12; }
.transparent { background-color: rgb(18 13 18 / 50%); }
.gradient { background: linear-gradient(to right, #120d12, #120d10); }
Similar colors
#0f0707Knight Rider#0b0c14Midnight Oil#0b0c10Midnight Black#1a161dViolet Void#16141cBack in Black#080813Narwhal Gray#0f0d0dBlack Sheep#17171aPiano Black
Questions
- What color is #120D12?
- #120D12 is a very dark, grayish magenta, closest to the named color Knight Rider. It belongs to the black family of colors.
- What is the RGB value of #120D12?
- The RGB value is 18, 13, 18: 18 red, 13 green and 18 blue on a 0 to 255 scale.
- What is the complementary color of #120D12?
- The complementary color is #0D120D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120D12?
- White text. Black text has a contrast ratio of 1.09:1 and white text 19.23:1. WCAG asks for at least 4.5:1 for normal text.