Color #af7291
A muted medium magenta.
Conversions
#af7291
rgb(175, 114, 145)
hsl(329.5, 27.6%, 56.7%)
hsv(329.5, 34.9%, 68.6%)
cmyk(0%, 34.9%, 17.1%, 31.4%)
lab(55.27, 28.65, -6.88)
lch(55.27, 29.46, 346.5)
oklch(62.6%, 0.0868, 348.03)
hwb(329.5, 44.7%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.64:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#98988a · ΔE 30.4
Deuteranopia
#9ca089 · ΔE 35.7
Tritanopia
#ad8583 · ΔE 12.5
Achromatopsia
#848484 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af7291;
bg-[#af7291]
Related colors
Frequently asked questions
#af7291 (#af7291) is rgb(175, 114, 145) in RGB.
No, #af7291 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 #af7291, or check how it holds up for accessibility.