Color #5a2c4b
A muted dark magenta.
Conversions
#5a2c4b
rgb(90, 44, 75)
hsl(319.6, 34.3%, 26.3%)
hsv(319.6, 51.1%, 35.3%)
cmyk(0%, 51.1%, 16.7%, 64.7%)
lab(25.21, 25.65, -9.77)
lch(25.21, 27.45, 339.15)
oklch(36.6%, 0.08, 340.95)
hwb(319.6, 17.3%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (11.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4a45 · ΔE 25.1
Deuteranopia
#4d4f43 · ΔE 30.7
Tritanopia
#58403e · ΔE 14.3
Achromatopsia
#3c3c3c · ΔE 20.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a2c4b;
bg-[#5a2c4b]
Related colors
Frequently asked questions
#5a2c4b (#5a2c4b) is rgb(90, 44, 75) in RGB.
No, #5a2c4b is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #5a2c4b, or check how it holds up for accessibility.