#AF168A

A dark, vivid magenta closely aligning with Mediumvioletred.

About #AF168A

The hex code #AF168A represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Mediumvioletred. This translates to an RGB value of rgb(175, 22, 138).

When sending designs containing this color to a printer, the CMYK values come into play. The color uses 0% Cyan, 87% Magenta, 21% Yellow, and 31% Black. This makes it a relatively light color when applied to physical surfaces.

From a UX and accessibility standpoint, contrast is paramount. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#AF168A
RGB175, 22, 138
HSL314.5°, 77.7%, 38.6%
CMYK0%, 87%, 21%, 31%
HSV314.5°, 87.4%, 68.6%
LAB40.4, 66.2, -25.3
XYZ22.6, 11.5, 25.1
Decimal11474570

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.35:1
Text on #FFFFFF
AA
3.30:1
Text on #000000
AA Large
6.07:1
Text on #F8FAFC
AA
2.81:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585