Color #512f48
A muted dark magenta.
Conversions
#512f48
rgb(81, 47, 72)
hsl(315.9, 26.6%, 25.1%)
hsv(315.9, 42%, 31.8%)
cmyk(0%, 42%, 11.1%, 68.2%)
lab(24.48, 19.83, -8.99)
lch(24.48, 21.77, 335.61)
oklch(35.7%, 0.0623, 337.22)
hwb(315.9, 18.4%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (11.35:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#454443 · ΔE 18.6
Deuteranopia
#464942 · ΔE 25.9
Tritanopia
#503f3e · ΔE 13
Achromatopsia
#3a3a3a · ΔE 18.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512f48;
bg-[#512f48]
Related colors
Frequently asked questions
#512f48 (#512f48) is rgb(81, 47, 72) in RGB.
No, #512f48 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 #512f48, or check how it holds up for accessibility.