#120802 color
The hex color #120802 is a black.
In the RGB color model it is made of 7.1% red, 3.1% green and 0.8% blue (18, 8, 2).
Its hue angle is 23°, with 80% saturation and 4% lightness. For print, the CMYK equivalent is 0% cyan, 56% magenta, 89% yellow and 93% black.
The closest named color is Asphalt (#130A06), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.79:1).
#120802 color codes
| HEX | #120802 | |
|---|---|---|
| RGB | rgb(18, 8, 2) | |
| RGB percent | rgb(7.1%, 3.1%, 0.8%) | |
| HSL | hsl(23, 80%, 4%) | |
| HSV / HSB | hsv(23, 89%, 7%) | |
| CMYK | cmyk(0%, 56%, 89%, 93%) | |
| CIE LAB | lab(2.77, 2.28, 3.37) | |
| CIE LCH | lch(2.77, 4.07, 55.86) | |
| CIE XYZ | xyz(0.347, 0.307, 0.098) | |
| Decimal | 1181698 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #120802, 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 #120802 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.79:1 | Pass | Pass | Pass |
| #120802 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.79:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #120802 looks to people with the most common types of color vision deficiency.
#0b0902Protanopia
no red cones#0d0b02Deuteranopia
no green cones#150606Tritanopia
no blue cones#0a0a0aAchromatopsia
no color vision
CSS examples
.background { background-color: #120802; }
.text { color: #120802; }
.border { border: 2px solid #120802; }
.transparent { background-color: rgb(18 8 2 / 50%); }
.gradient { background: linear-gradient(to right, #120802, #121002); }
Similar colors
#130a06Asphalt#0e0702Blackout#130d07Balsamico#0f0707Knight Rider#0a0502Liquorice#1a1110Scandinavian Liquorice#1b150dSoulless#110101Dark Matter
Closest common color name: Raven Black.
Questions
- What color is #120802?
- #120802 is a black, closest to the named color Asphalt. It belongs to the black family of colors.
- What is the RGB value of #120802?
- The RGB value is 18, 8, 2: 18 red, 8 green and 2 blue on a 0 to 255 scale.
- What is the complementary color of #120802?
- The complementary color is #020C12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #120802?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.79:1. WCAG asks for at least 4.5:1 for normal text.