Color #5d1f27
A moderately saturated dark red.
Conversions
#5d1f27
rgb(93, 31, 39)
hsl(352.3, 50%, 24.3%)
hsv(352.3, 66.7%, 36.5%)
cmyk(0%, 66.7%, 58.1%, 63.5%)
lab(21.78, 29.03, 9.82)
lch(21.78, 30.65, 18.69)
oklch(33.7%, 0.0907, 15.74)
hwb(352.3, 12.2%, 63.5%)
Harmony colors
Accessibility
White text reads better on this background (12.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4925 · ΔE 31.9
Deuteranopia
#4d5025 · ΔE 34.7
Tritanopia
#5b2423 · ΔE 3.5
Achromatopsia
#343434 · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5d1f27;
bg-[#5d1f27]
Related colors
Frequently asked questions
#5d1f27 (#5d1f27) is rgb(93, 31, 39) in RGB.
No, #5d1f27 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 #5d1f27, or check how it holds up for accessibility.