Color #af508f
A muted medium magenta.
Conversions
#af508f
rgb(175, 80, 143)
hsl(320.2, 37.3%, 50%)
hsv(320.2, 54.3%, 68.6%)
cmyk(0%, 54.3%, 18.3%, 31.4%)
lab(48.05, 46.42, -16.58)
lch(48.05, 49.29, 340.34)
oklch(57.1%, 0.1448, 342.23)
hwb(320.2, 31.4%, 31.4%)
Harmony colors
Accessibility
White text reads better on this background (4.81:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#908f83 · ΔE 34.3
Deuteranopia
#949a80 · ΔE 43.6
Tritanopia
#ac7976 · ΔE 20.1
Achromatopsia
#727272 · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af508f;
bg-[#af508f]
Related colors
Frequently asked questions
#af508f (#af508f) is rgb(175, 80, 143) in RGB.
No, #af508f 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 #af508f, or check how it holds up for accessibility.