Color #af2281
A moderately saturated medium magenta.
Conversions
#af2281
rgb(175, 34, 129)
hsl(319.6, 67.5%, 41%)
hsv(319.6, 80.6%, 68.6%)
cmyk(0%, 80.6%, 26.3%, 31.4%)
lab(40.97, 62.43, -18.92)
lch(40.97, 65.23, 343.14)
oklch(51.7%, 0.1962, 345.11)
hwb(319.6, 13.3%, 31.4%)
Harmony colors
Accessibility
White text reads better on this background (6.23:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#898873 · ΔE 43.3
Deuteranopia
#8f966f · ΔE 54.3
Tritanopia
#ab6562 · ΔE 22.5
Achromatopsia
#616161 · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #af2281;
bg-[#af2281]
Related colors
Frequently asked questions
#af2281 (#af2281) is rgb(175, 34, 129) in RGB.
No, #af2281 is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #af2281, or check how it holds up for accessibility.