#20040A color

#20040A rgb(32, 4, 10)
Shades of black

The hex color #20040A is a very dark, moderate red.

In the RGB color model it is made of 12.5% red, 1.6% green and 3.9% blue (32, 4, 10).

Its hue angle is 347°, with 78% saturation and 7% lightness. For print, the CMYK equivalent is 0% cyan, 88% magenta, 69% yellow and 87% black.

The closest named color is Dwarf Fortress (#1D0200), a difference of 3.1 ΔE, a small difference.

White text is the more readable choice on this background (contrast 19.39:1).

#20040A color codes

HEX#20040A
RGBrgb(32, 4, 10)
RGB percentrgb(12.5%, 1.6%, 3.9%)
HSLhsl(347, 78%, 7%)
HSV / HSBhsv(347, 88%, 13%)
CMYKcmyk(0%, 88%, 69%, 87%)
CIE LABlab(3.76, 12.23, 1.75)
CIE LCHlch(3.76, 12.36, 8.12)
CIE XYZxyz(0.694, 0.416, 0.331)
Decimal2098186
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #20040A, 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 #20040ARatioAAAAAAA large
Sample text1.08:1FailFailFail
Sample text19.39:1PassPassPass
#20040A as text onRatioAAAAAAA large
Sample text19.39:1PassPassPass
Sample text1.08: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 #20040A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #20040a; }
.text { color: #20040a; }
.border { border: 2px solid #20040a; }
.transparent { background-color: rgb(32 4 10 / 50%); }
.gradient { background: linear-gradient(to right, #20040a, #200c04); }
Background
Text color
Border

Similar colors

Closest common color name: Licorice.

Questions

What color is #20040A?
#20040A is a very dark, moderate red, closest to the named color Dwarf Fortress. It belongs to the black family of colors.
What is the RGB value of #20040A?
The RGB value is 32, 4, 10: 32 red, 4 green and 10 blue on a 0 to 255 scale.
What is the complementary color of #20040A?
The complementary color is #04201A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #20040A?
White text. Black text has a contrast ratio of 1.08:1 and white text 19.39:1. WCAG asks for at least 4.5:1 for normal text.