#20071D color

#20071D rgb(32, 7, 29)
Shades of black

The hex color #20071D is a very dark, moderate magenta.

In the RGB color model it is made of 12.5% red, 2.7% green and 11.4% blue (32, 7, 29).

Its hue angle is 307°, with 64% saturation and 8% lightness. For print, the CMYK equivalent is 0% cyan, 78% magenta, 9% yellow and 87% black.

The closest named color is Shot in the Dark (#1D0D1D), a difference of 3.4 ΔE, a small difference.

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

#20071D color codes

HEX#20071D
RGBrgb(32, 7, 29)
RGB percentrgb(12.5%, 2.7%, 11.4%)
HSLhsl(307, 64%, 8%)
HSV / HSBhsv(307, 78%, 13%)
CMYKcmyk(0%, 78%, 9%, 87%)
CIE LABlab(4.95, 15.23, -8.65)
CIE LCHlch(4.95, 17.51, 330.41)
CIE XYZxyz(0.893, 0.548, 1.221)
Decimal2098973
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #20071D, 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 #20071DRatioAAAAAAA large
Sample text1.11:1FailFailFail
Sample text18.93:1PassPassPass
#20071D as text onRatioAAAAAAA large
Sample text18.93:1PassPassPass
Sample text1.11: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 #20071D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #20071d; }
.text { color: #20071d; }
.border { border: 2px solid #20071d; }
.transparent { background-color: rgb(32 7 29 / 50%); }
.gradient { background: linear-gradient(to right, #20071d, #200710); }
Background
Text color
Border

Similar colors

Questions

What color is #20071D?
#20071D is a very dark, moderate magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
What is the RGB value of #20071D?
The RGB value is 32, 7, 29: 32 red, 7 green and 29 blue on a 0 to 255 scale.
What is the complementary color of #20071D?
The complementary color is #07200A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #20071D?
White text. Black text has a contrast ratio of 1.11:1 and white text 18.93:1. WCAG asks for at least 4.5:1 for normal text.