#5A1B23 color
The hex color #5A1B23 is a dark, moderate red.
In the RGB color model it is made of 35.3% red, 10.6% green and 13.7% blue (90, 27, 35).
Its hue angle is 352°, with 54% saturation and 23% lightness. For print, the CMYK equivalent is 0% cyan, 70% magenta, 61% yellow and 65% black.
The closest named color is Forbidden Passion (#661020), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13:1).
#5A1B23 color codes
| HEX | #5A1B23 | |
|---|---|---|
| RGB | rgb(90, 27, 35) | |
| RGB percent | rgb(35.3%, 10.6%, 13.7%) | |
| HSL | hsl(352, 54%, 23%) | |
| HSV / HSB | hsv(352, 70%, 35%) | |
| CMYK | cmyk(0%, 70%, 61%, 65%) | |
| CIE LAB | lab(20.36, 29.52, 10.58) | |
| CIE LCH | lch(20.36, 31.36, 19.72) | |
| CIE XYZ | xyz(4.912, 3.08, 1.926) | |
| Decimal | 5905187 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A1B23, 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 #5A1B23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.62:1 | Fail | Fail | Fail |
| Sample text | 13:1 | Pass | Pass | Pass |
| #5A1B23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13:1 | Pass | Pass | Pass |
| Sample text | 1.62: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 #5A1B23 looks to people with the most common types of color vision deficiency.
#2b2923Protanopia
no red cones#3b3621Deuteranopia
no green cones#630f1eTritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #5a1b23; }
.text { color: #5a1b23; }
.border { border: 2px solid #5a1b23; }
.transparent { background-color: rgb(90 27 35 / 50%); }
.gradient { background: linear-gradient(to right, #5a1b23, #5a321b); }
Similar colors
#661020Forbidden Passion#522426Lonestar#5f2c2fJazz#650021Merguez#612e32Chocolate Truffle#571e2fDrops of God#670728Plum Cheese#620b15Cherry Picking
Closest common color name: Wine.
Questions
- What color is #5A1B23?
- #5A1B23 is a dark, moderate red, closest to the named color Forbidden Passion. It belongs to the red family of colors.
- What is the RGB value of #5A1B23?
- The RGB value is 90, 27, 35: 90 red, 27 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #5A1B23?
- The complementary color is #1B5A52, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A1B23?
- White text. Black text has a contrast ratio of 1.62:1 and white text 13:1. WCAG asks for at least 4.5:1 for normal text.