#2D071F color

#2D071F rgb(45, 7, 31)
Shades of black

The hex color #2D071F is a very dark, moderate rose.

In the RGB color model it is made of 17.6% red, 2.7% green and 12.2% blue (45, 7, 31).

Its hue angle is 322°, with 73% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 84% magenta, 31% yellow and 82% black.

The closest named color is Vienna Roast (#330022), a difference of 3.2 ΔE, a small difference.

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

#2D071F color codes

HEX#2D071F
RGBrgb(45, 7, 31)
RGB percentrgb(17.6%, 2.7%, 12.2%)
HSLhsl(322, 73%, 10%)
HSV / HSBhsv(322, 84%, 18%)
CMYKcmyk(0%, 84%, 31%, 82%)
CIE LABlab(7.31, 22.27, -6.43)
CIE LCHlch(7.31, 23.17, 343.9)
CIE XYZxyz(1.406, 0.809, 1.378)
Decimal2950943
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2D071F, 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 #2D071FRatioAAAAAAA large
Sample text1.16:1FailFailFail
Sample text18.08:1PassPassPass
#2D071F as text onRatioAAAAAAA large
Sample text18.08:1PassPassPass
Sample text1.16: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 #2D071F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2d071f; }
.text { color: #2d071f; }
.border { border: 2px solid #2d071f; }
.transparent { background-color: rgb(45 7 31 / 50%); }
.gradient { background: linear-gradient(to right, #2d071f, #2d070c); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #2D071F?
#2D071F is a very dark, moderate rose, closest to the named color Vienna Roast. It belongs to the black family of colors.
What is the RGB value of #2D071F?
The RGB value is 45, 7, 31: 45 red, 7 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #2D071F?
The complementary color is #072D15, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2D071F?
White text. Black text has a contrast ratio of 1.16:1 and white text 18.08:1. WCAG asks for at least 4.5:1 for normal text.