Color #5a313e
A muted dark pink.
Conversions
#5a313e
rgb(90, 49, 62)
hsl(341, 29.5%, 27.3%)
hsv(341, 45.6%, 35.3%)
cmyk(0%, 45.6%, 31.1%, 64.7%)
lab(25.92, 20.43, -0.02)
lch(25.92, 20.43, 359.94)
oklch(36.9%, 0.0618, 0.19)
hwb(341, 19.2%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (10.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b3b · ΔE 27
Deuteranopia
#4e503a · ΔE 30.4
Tritanopia
#583938 · ΔE 6.8
Achromatopsia
#3d3d3d · ΔE 18
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a313e;
bg-[#5a313e]
Related colors
Frequently asked questions
#5a313e (#5a313e) is rgb(90, 49, 62) in RGB.
No, #5a313e 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 #5a313e, or check how it holds up for accessibility.