Liquorice color: hex code #0A0502

#0A0502 rgb(10, 5, 2)
Shades of black

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
RGBrgb(10, 5, 2)
RGB percentrgb(3.9%, 2%, 0.8%)
HSLhsl(23, 67%, 2%)
HSV / HSBhsv(23, 80%, 4%)
CMYKcmyk(0%, 50%, 80%, 96%)
CIE LABlab(1.6, 0.89, 1.6)
CIE LCHlch(1.6, 1.83, 60.85)
CIE XYZxyz(0.19, 0.177, 0.082)
Decimal656642
Short hexNone (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 #0A0502RatioAAAAAAA large
Sample text1.04:1FailFailFail
Sample text20.28:1PassPassPass
#0A0502 as text onRatioAAAAAAA large
Sample text20.28:1PassPassPass
Sample text1.04:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.