Color #5f122c
A moderately saturated dark pink.
Conversions
#5f122c
rgb(95, 18, 44)
hsl(339.7, 68.1%, 22.2%)
hsv(339.7, 81.1%, 37.3%)
cmyk(0%, 81.1%, 53.7%, 62.7%)
lab(20.24, 35.92, 4.25)
lch(20.24, 36.17, 6.75)
oklch(32.7%, 0.1103, 5.78)
hwb(339.7, 7.1%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (13.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#494927 · ΔE 36.2
Deuteranopia
#4d5126 · ΔE 39.8
Tritanopia
#5d2322 · ΔE 8.6
Achromatopsia
#313131 · ΔE 23.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f122c;
bg-[#5f122c]
Related colors
Frequently asked questions
#5f122c (#5f122c) is rgb(95, 18, 44) in RGB.
No, #5f122c 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 #5f122c, or check how it holds up for accessibility.