Liquorice color: hex code #0A0502
Liquorice has the hex code #0A0502. It is a black.
In the RGB color model it is made of 3.9% red, 2% green and 0.8% blue (10, 5, 2).
Its hue angle is 23°, with 67% saturation and 2% lightness. For print, the CMYK equivalent is 0% cyan, 50% magenta, 80% yellow and 96% black.
White text is the more readable choice on this background (contrast 20.28:1).
Liquorice (#0A0502) color codes
| HEX | #0A0502 | |
|---|---|---|
| RGB | rgb(10, 5, 2) | |
| RGB percent | rgb(3.9%, 2%, 0.8%) | |
| HSL | hsl(23, 67%, 2%) | |
| HSV / HSB | hsv(23, 80%, 4%) | |
| CMYK | cmyk(0%, 50%, 80%, 96%) | |
| CIE LAB | lab(1.6, 0.89, 1.6) | |
| CIE LCH | lch(1.6, 1.83, 60.85) | |
| CIE XYZ | xyz(0.19, 0.177, 0.082) | |
| Decimal | 656642 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Liquorice, 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 #0A0502 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.04:1 | Fail | Fail | Fail |
| Sample text | 20.28:1 | Pass | Pass | Pass |
| #0A0502 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.28:1 | Pass | Pass | Pass |
| Sample text | 1.04: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 #0A0502 looks to people with the most common types of color vision deficiency.
#060502Protanopia
no red cones#080602Deuteranopia
no green cones#0c0404Tritanopia
no blue cones#060606Achromatopsia
no color vision
CSS examples
.background { background-color: #0a0502; }
.text { color: #0a0502; }
.border { border: 2px solid #0a0502; }
.transparent { background-color: rgb(10 5 2 / 50%); }
.gradient { background: linear-gradient(to right, #0a0502, #0a0902); }
Similar colors
#0e0702Blackout#050301Raven Black#0f0d0dBlack Sheep#060606Black Metal#130d07Balsamico#0f0707Knight Rider#0b0b0bRaven#000000Black
See #0A0502 on its hex code page
Questions
- What color is #0A0502?
- #0A0502 is a black known as Liquorice. It belongs to the black family of colors.
- What is the RGB value of Liquorice?
- The RGB value is 10, 5, 2: 10 red, 5 green and 2 blue on a 0 to 255 scale.
- What is the complementary color of Liquorice?
- The complementary color is #02070A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0A0502?
- White text. Black text has a contrast ratio of 1.04:1 and white text 20.28:1. WCAG asks for at least 4.5:1 for normal text.