Color #af74a2
A muted medium magenta.
Conversions
#af74a2
rgb(175, 116, 162)
hsl(313.2, 26.9%, 57.1%)
hsv(313.2, 33.7%, 68.6%)
cmyk(0%, 33.7%, 7.4%, 31.4%)
lab(56.3, 30.46, -15.21)
lch(56.3, 34.05, 333.47)
oklch(63.5%, 0.0964, 334.95)
hwb(313.2, 45.5%, 31.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.84:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#999998 · ΔE 23.9
Deuteranopia
#9ca096 · ΔE 32.1
Tritanopia
#ad908f · ΔE 17
Achromatopsia
#878787 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af74a2;
bg-[#af74a2]
Related colors
Frequently asked questions
#af74a2 (#af74a2) is rgb(175, 116, 162) in RGB.
No, #af74a2 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 #af74a2, or check how it holds up for accessibility.