#521A1F color
The hex color #521A1F is a dark, moderate red.
In the RGB color model it is made of 32.2% red, 10.2% green and 12.2% blue (82, 26, 31).
Its hue angle is 355°, with 52% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 68% magenta, 62% yellow and 68% black.
The closest named color is Lonestar (#522426), a difference of 3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.76:1).
#521A1F color codes
| HEX | #521A1F | |
|---|---|---|
| RGB | rgb(82, 26, 31) | |
| RGB percent | rgb(32.2%, 10.2%, 12.2%) | |
| HSL | hsl(355, 52%, 21%) | |
| HSV / HSB | hsv(355, 68%, 32%) | |
| CMYK | cmyk(0%, 68%, 62%, 68%) | |
| CIE LAB | lab(18.51, 26.58, 10.62) | |
| CIE LCH | lch(18.51, 28.62, 21.79) | |
| CIE XYZ | xyz(4.097, 2.632, 1.588) | |
| Decimal | 5380639 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #521A1F, 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 #521A1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.76:1 | Pass | Pass | Pass |
| #521A1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.76:1 | Pass | Pass | Pass |
| Sample text | 1.53:1 | Fail | Fail | Fail |
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 #521A1F looks to people with the most common types of color vision deficiency.
#28261fProtanopia
no red cones#36311eDeuteranopia
no green cones#5a101cTritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #521a1f; }
.text { color: #521a1f; }
.border { border: 2px solid #521a1f; }
.transparent { background-color: rgb(82 26 31 / 50%); }
.gradient { background: linear-gradient(to right, #521a1f, #52311a); }
Similar colors
#522426Lonestar#441111English Breakfast#5f2c2fJazz#661020Forbidden Passion#4e241eTorrefacto Roast#4a120dMinotaur Hide#572b26Worcestershire Sauce#612e32Chocolate Truffle
Closest common color name: Oxblood.
Questions
- What color is #521A1F?
- #521A1F is a dark, moderate red, closest to the named color Lonestar. It belongs to the red family of colors.
- What is the RGB value of #521A1F?
- The RGB value is 82, 26, 31: 82 red, 26 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #521A1F?
- The complementary color is #1A524D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #521A1F?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.76:1. WCAG asks for at least 4.5:1 for normal text.