Color #a8118b
A vivid, highly saturated dark magenta.
Conversions
#a8118b
rgb(168, 17, 139)
hsl(311.5, 81.6%, 36.3%)
hsv(311.5, 89.9%, 65.9%)
cmyk(0%, 89.9%, 17.3%, 34.1%)
lab(38.88, 65.75, -28.42)
lch(38.88, 71.63, 336.62)
oklch(50.1%, 0.2104, 338.45)
hwb(311.5, 6.7%, 34.1%)
Harmony colors
Accessibility
White text reads better on this background (6.74:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#82817b · ΔE 35.6
Deuteranopia
#888f76 · ΔE 50.9
Tritanopia
#a46c68 · ΔE 26.7
Achromatopsia
#5c5c5c · ΔE 27.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a8118b;
bg-[#a8118b]
Related colors
Frequently asked questions
#a8118b (#a8118b) is rgb(168, 17, 139) in RGB.
No, #a8118b 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 #a8118b, or check how it holds up for accessibility.