#120717 color
The hex color #120717 is a very dark, moderate magenta.
In the RGB color model it is made of 7.1% red, 2.7% green and 9% blue (18, 7, 23).
Its hue angle is 281°, with 53% saturation and 6% lightness. For print, the CMYK equivalent is 22% cyan, 70% magenta, 0% yellow and 91% black.
The closest named color is Glossy Black (#110011), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 19.65:1).
#120717 color codes
| HEX | #120717 | |
|---|---|---|
| RGB | rgb(18, 7, 23) | |
| RGB percent | rgb(7.1%, 2.7%, 9%) | |
| HSL | hsl(281, 53%, 6%) | |
| HSV / HSB | hsv(281, 70%, 9%) | |
| CMYK | cmyk(22%, 70%, 0%, 91%) | |
| CIE LAB | lab(3.09, 6.33, -6.84) | |
| CIE LCH | lch(3.09, 9.32, 312.78) | |
| CIE XYZ | xyz(0.48, 0.342, 0.851) | |
| Decimal | 1181463 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120717, 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 #120717 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.07:1 | Fail | Fail | Fail |
| Sample text | 19.65:1 | Pass | Pass | Pass |
| #120717 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.65: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 #120717 looks to people with the most common types of color vision deficiency.
#050b18Protanopia
no red cones#070c17Deuteranopia
no green cones#12090dTritanopia
no blue cones#0b0b0bAchromatopsia
no color vision
CSS examples
.background { background-color: #120717; }
.text { color: #120717; }
.border { border: 2px solid #120717; }
.transparent { background-color: rgb(18 7 23 / 50%); }
.gradient { background: linear-gradient(to right, #120717, #170714); }
Similar colors
#110011Glossy Black#180614Crow#150811Noir Fiction#060313Obsidian Shard#1a161dViolet Void#16141cBack in Black#1d0d1dShot in the Dark#111122Corbeau
Closest common color name: Licorice.
Questions
- What color is #120717?
- #120717 is a very dark, moderate magenta, closest to the named color Glossy Black. It belongs to the black family of colors.
- What is the RGB value of #120717?
- The RGB value is 18, 7, 23: 18 red, 7 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #120717?
- The complementary color is #0C1707, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120717?
- White text. Black text has a contrast ratio of 1.07:1 and white text 19.65:1. WCAG asks for at least 4.5:1 for normal text.