Color #512831
A muted dark red.
Conversions
#512831
rgb(81, 40, 49)
hsl(346.8, 33.9%, 23.7%)
hsv(346.8, 50.6%, 31.8%)
cmyk(0%, 50.6%, 39.5%, 68.2%)
lab(21.9, 20.23, 2.8)
lch(21.9, 20.42, 7.88)
oklch(33.5%, 0.0619, 6.96)
hwb(346.8, 15.7%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (12.37:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#43422f · ΔE 26.8
Deuteranopia
#45482e · ΔE 31
Tritanopia
#502d2d · ΔE 4.3
Achromatopsia
#343434 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512831;
bg-[#512831]
Related colors
Frequently asked questions
#512831 (#512831) is rgb(81, 40, 49) in RGB.
No, #512831 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 #512831, or check how it holds up for accessibility.