Color #5f2126
A moderately saturated dark red.
Conversions
#5f2126
rgb(95, 33, 38)
hsl(355.2, 48.4%, 25.1%)
hsv(355.2, 65.3%, 37.3%)
cmyk(0%, 65.3%, 60%, 62.7%)
lab(22.52, 28.69, 11.57)
lch(22.52, 30.94, 21.96)
oklch(34.3%, 0.0904, 18.43)
hwb(355.2, 12.9%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (12.12:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4c4b25 · ΔE 31.4
Deuteranopia
#4f5225 · ΔE 34.2
Tritanopia
#5d2424 · ΔE 1.9
Achromatopsia
#363636 · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f2126;
bg-[#5f2126]
Related colors
Frequently asked questions
#5f2126 (#5f2126) is rgb(95, 33, 38) in RGB.
No, #5f2126 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 #5f2126, or check how it holds up for accessibility.