#AF166D

A dark, vivid magenta closely aligning with Mediumvioletred.

About #AF166D

Visually, #AF166D is defined as a vivid magenta. Its closest recognized web color is Mediumvioletred. This translates to an RGB value of rgb(175, 22, 109).

Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 0% cyan and 87% magenta inks. The HSL representation is 325.9° hue, 77.7% saturation, and 38.6% lightness.

Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.

Color Space Conversions

HEX#AF166D
RGB175, 22, 109
HSL325.9°, 77.7%, 38.6%
CMYK0%, 87%, 38%, 31%
HSV325.9°, 87.4%, 68.6%
LAB39.2, 62.9, -9.1
XYZ20.7, 10.8, 15.5
Decimal11474541

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.65:1
Text on #FFFFFF
AA
3.16:1
Text on #000000
AA Large
6.35:1
Text on #F8FAFC
AA
2.69:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #AF166D; }
.text-color { color: #AF166D; }
.border-color { border: 2px solid #AF166D; }

Similar Colors

Mediumvioletred
#C71585