#5A1D24 color
The hex color #5A1D24 is a dark, moderate red.
In the RGB color model it is made of 35.3% red, 11.4% green and 14.1% blue (90, 29, 36).
Its hue angle is 353°, with 51% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 68% magenta, 60% yellow and 65% black.
The closest named color is Lonestar (#522426), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.84:1).
#5A1D24 color codes
| HEX | #5A1D24 | |
|---|---|---|
| RGB | rgb(90, 29, 36) | |
| RGB percent | rgb(35.3%, 11.4%, 14.1%) | |
| HSL | hsl(353, 51%, 23%) | |
| HSV / HSB | hsv(353, 68%, 35%) | |
| CMYK | cmyk(0%, 68%, 60%, 65%) | |
| CIE LAB | lab(20.75, 28.62, 10.42) | |
| CIE LCH | lch(20.75, 30.45, 20) | |
| CIE XYZ | xyz(4.975, 3.18, 2.021) | |
| Decimal | 5905700 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A1D24, 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 #5A1D24 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.64:1 | Fail | Fail | Fail |
| Sample text | 12.84:1 | Pass | Pass | Pass |
| #5A1D24 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.84:1 | Pass | Pass | Pass |
| Sample text | 1.64: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 #5A1D24 looks to people with the most common types of color vision deficiency.
#2c2a24Protanopia
no red cones#3b3723Deuteranopia
no green cones#631220Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #5a1d24; }
.text { color: #5a1d24; }
.border { border: 2px solid #5a1d24; }
.transparent { background-color: rgb(90 29 36 / 50%); }
.gradient { background: linear-gradient(to right, #5a1d24, #5a351d); }
Similar colors
#522426Lonestar#661020Forbidden Passion#5f2c2fJazz#612e32Chocolate Truffle#571e2fDrops of God#650021Merguez#6a2f2fArcane Red#712735Merlot Fields
Closest common color name: Wine.
Questions
- What color is #5A1D24?
- #5A1D24 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 #5A1D24?
- The RGB value is 90, 29, 36: 90 red, 29 green and 36 blue on a 0 to 255 scale.
- What is the complementary color of #5A1D24?
- The complementary color is #1D5A53, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A1D24?
- White text. Black text has a contrast ratio of 1.64:1 and white text 12.84:1. WCAG asks for at least 4.5:1 for normal text.