#5A1D34 color
The hex color #5A1D34 is a dark, moderate rose.
In the RGB color model it is made of 35.3% red, 11.4% green and 20.4% blue (90, 29, 52).
Its hue angle is 337°, with 51% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 68% magenta, 42% yellow and 65% black.
The closest named color is Soul Anchor (#5C1C39), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.65:1).
#5A1D34 color codes
| HEX | #5A1D34 | |
|---|---|---|
| RGB | rgb(90, 29, 52) | |
| RGB percent | rgb(35.3%, 11.4%, 20.4%) | |
| HSL | hsl(337, 51%, 23%) | |
| HSV / HSB | hsv(337, 68%, 35%) | |
| CMYK | cmyk(0%, 68%, 42%, 65%) | |
| CIE LAB | lab(21.21, 30.34, -0.08) | |
| CIE LCH | lch(21.21, 30.34, 359.85) | |
| CIE XYZ | xyz(5.276, 3.301, 3.607) | |
| Decimal | 5905716 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A1D34, 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 #5A1D34 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.65:1 | Pass | Pass | Pass |
| #5A1D34 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.65:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #5A1D34 looks to people with the most common types of color vision deficiency.
#282c35Protanopia
no red cones#393733Deuteranopia
no green cones#621726Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #5a1d34; }
.text { color: #5a1d34; }
.border { border: 2px solid #5a1d34; }
.transparent { background-color: rgb(90 29 52 / 50%); }
.gradient { background: linear-gradient(to right, #5a1d34, #5a241d); }
Similar colors
#5c1c39Soul Anchor#571e2fDrops of God#69293bSiren#6f123cHer Fierceness#441122What We Do in the Shadows#43182fBlackberry#66023cTyrian Purple#670728Plum Cheese
Questions
- What color is #5A1D34?
- #5A1D34 is a dark, moderate rose, closest to the named color Soul Anchor. It belongs to the red family of colors.
- What is the RGB value of #5A1D34?
- The RGB value is 90, 29, 52: 90 red, 29 green and 52 blue on a 0 to 255 scale.
- What is the complementary color of #5A1D34?
- The complementary color is #1D5A43, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A1D34?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.65:1. WCAG asks for at least 4.5:1 for normal text.