Color #51222a
A moderately saturated dark red.
Conversions
#51222a
rgb(81, 34, 42)
hsl(349.8, 40.9%, 22.5%)
hsv(349.8, 58%, 31.8%)
cmyk(0%, 58%, 48.1%, 68.2%)
lab(20.29, 22.9, 5.34)
lch(20.29, 23.51, 13.13)
oklch(32.2%, 0.0708, 11.33)
hwb(349.8, 13.3%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (13.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#414128 · ΔE 29.6
Deuteranopia
#444728 · ΔE 32.3
Tritanopia
#4f2726 · ΔE 4.1
Achromatopsia
#313131 · ΔE 19.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51222a;
bg-[#51222a]
Related colors
Frequently asked questions
#51222a (#51222a) is rgb(81, 34, 42) in RGB.
No, #51222a 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 #51222a, or check how it holds up for accessibility.