#512F2D color

#512F2D rgb(81, 47, 45)
Shades of red

The hex color #512F2D is a dark, desaturated red.

In the RGB color model it is made of 31.8% red, 18.4% green and 17.6% blue (81, 47, 45).

Its hue angle is 3°, with 29% saturation and 25% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 44% yellow and 68% black.

The closest named color is Brown Coffee (#4A2C2A), a difference of 1.9 ΔE, which is barely visible.

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

#512F2D color codes

HEX#512F2D
RGBrgb(81, 47, 45)
RGB percentrgb(31.8%, 18.4%, 17.6%)
HSLhsl(3, 29%, 25%)
HSV / HSBhsv(3, 44%, 32%)
CMYKcmyk(0%, 42%, 44%, 68%)
CIE LABlab(23.58, 15.28, 7.89)
CIE LCHlch(23.58, 17.2, 27.31)
CIE XYZxyz(4.884, 3.972, 2.992)
Decimal5320493
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #512F2D, 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 #512F2DRatioAAAAAAA large
Sample text1.79:1FailFailFail
Sample text11.7:1PassPassPass
#512F2D as text onRatioAAAAAAA large
Sample text11.7:1PassPassPass
Sample text1.79: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 #512F2D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #512f2d; }
.text { color: #512f2d; }
.border { border: 2px solid #512f2d; }
.transparent { background-color: rgb(81 47 45 / 50%); }
.gradient { background: linear-gradient(to right, #512f2d, #51412d); }
Background
Text color
Border

Similar colors

Questions

What color is #512F2D?
#512F2D is a dark, desaturated red, closest to the named color Brown Coffee. It belongs to the red family of colors.
What is the RGB value of #512F2D?
The RGB value is 81, 47, 45: 81 red, 47 green and 45 blue on a 0 to 255 scale.
What is the complementary color of #512F2D?
The complementary color is #2D4F51, found by rotating the hue 180° on the color wheel.
Is black or white text better on #512F2D?
White text. Black text has a contrast ratio of 1.79:1 and white text 11.7:1. WCAG asks for at least 4.5:1 for normal text.