Color #8a5162
A muted medium pink.
Conversions
#8a5162
rgb(138, 81, 98)
hsl(342.1, 26%, 42.9%)
hsv(342.1, 41.3%, 54.1%)
cmyk(0%, 41.3%, 29%, 45.9%)
lab(41.49, 26.14, 0.43)
lch(41.49, 26.14, 0.94)
oklch(50.6%, 0.079, 1.09)
hwb(342.1, 31.8%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (6.12:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#76755e · ΔE 31.3
Deuteranopia
#797c5d · ΔE 35.3
Tritanopia
#885b5a · ΔE 7.4
Achromatopsia
#626262 · ΔE 20.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a5162;
bg-[#8a5162]
Related colors
Frequently asked questions
#8a5162 (#8a5162) is rgb(138, 81, 98) in RGB.
No, #8a5162 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 #8a5162, or check how it holds up for accessibility.