#AF1D8A

A medium, vivid magenta closely aligning with Mediumvioletred.

About #AF1D8A

At its core, #AF1D8A is a medium and vivid hue. Designers often compare it to the standard color Mediumvioletred. In the RGB color space, it consists of 175 red, 29 green, and 138 blue.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 0% cyan, 83% magenta, 21% yellow, and 31% black. The HSL representation is 315.2° hue, 71.6% saturation, and 40.0% lightness.

Contrast ratios determine whether this color is safe for typography. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#AF1D8A
RGB175, 29, 138
HSL315.2°, 71.6%, 40.0%
CMYK0%, 83%, 21%, 31%
HSV315.2°, 83.4%, 68.6%
LAB40.9, 64.8, -24.5
XYZ22.7, 11.8, 25.1
Decimal11476362

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

6.24:1
Text on #FFFFFF
AA
3.37:1
Text on #000000
AA Large
5.96:1
Text on #F8FAFC
AA
2.86:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Mediumvioletred
#C71585