Color #af4b94
A moderately saturated medium magenta.
Conversions
#af4b94
rgb(175, 75, 148)
hsl(316.2, 40%, 49%)
hsv(316.2, 57.1%, 68.6%)
cmyk(0%, 57.1%, 15.4%, 31.4%)
lab(47.35, 49.6, -20.65)
lch(47.35, 53.73, 337.4)
oklch(56.6%, 0.1564, 339.21)
hwb(316.2, 29.4%, 31.4%)
Harmony colors
Accessibility
White text reads better on this background (4.93:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8f8e87 · ΔE 32.3
Deuteranopia
#949a83 · ΔE 44
Tritanopia
#ac7b78 · ΔE 22.1
Achromatopsia
#707070 · ΔE 25.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af4b94;
bg-[#af4b94]
Related colors
Frequently asked questions
#af4b94 (#af4b94) is rgb(175, 75, 148) in RGB.
No, #af4b94 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 #af4b94, or check how it holds up for accessibility.