#AF0F66

A dark, vivid magenta closely aligning with Mediumvioletred.

About #AF0F66

At its core, #AF0F66 is a dark and vivid hue. If you're using CSS, you might find it aligns closely with Mediumvioletred. Its digital footprint relies on 175 parts red, 15 parts green, and 102 parts blue light.

If you are designing for print, the four-color process is what matters most. To reproduce this shade on paper, a printer utilizes 0% cyan and 91% magenta inks. The HSL representation is 327.4° hue, 84.2% saturation, and 37.3% lightness.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#AF0F66
RGB175, 15, 102
HSL327.4°, 84.2%, 37.3%
CMYK0%, 91%, 42%, 31%
HSV327.4°, 91.4%, 68.6%
LAB38.6, 63.4, -5.7
XYZ20.2, 10.4, 13.5
Decimal11472742

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.81:1
Text on #FFFFFF
AA
3.08:1
Text on #000000
AA Large
6.51:1
Text on #F8FAFC
AA
2.62:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585