Color #521b2a
A moderately saturated dark pink.
Conversions
#521b2a
rgb(82, 27, 42)
hsl(343.6, 50.5%, 21.4%)
hsv(343.6, 67.1%, 32.2%)
cmyk(0%, 67.1%, 48.8%, 67.8%)
lab(18.99, 27.19, 3.53)
lch(18.99, 27.42, 7.4)
oklch(31.2%, 0.0833, 6.41)
hwb(343.6, 10.6%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (13.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#414027 · ΔE 31.3
Deuteranopia
#434726 · ΔE 35.2
Tritanopia
#502424 · ΔE 6
Achromatopsia
#2e2e2e · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #521b2a;
bg-[#521b2a]
Related colors
Frequently asked questions
#521b2a (#521b2a) is rgb(82, 27, 42) in RGB.
No, #521b2a 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 #521b2a, or check how it holds up for accessibility.