#AF1D66
A medium, vivid magenta closely aligning with Mediumvioletred.
About #AF1D66
At its core, #AF1D66 is a medium and vivid hue. Its closest recognized web color is Mediumvioletred. This translates to an RGB value of rgb(175, 29, 102).
Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 0% C, 83% M, 42% Y, and 31% K. With a hue angle of 330.0 degrees, it sits comfortably in the magenta spectrum.
Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#AF1D66
RGB175, 29, 102
HSL330.0°, 71.6%, 40.0%
CMYK0%, 83%, 42%, 31%
HSV330.0°, 83.4%, 68.6%
LAB39.5, 60.7, -4.3
XYZ20.5, 11.0, 13.6
Decimal11476326
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.58:1
Text on #FFFFFF
AA
3.19:1
Text on #000000
AA Large
6.29:1
Text on #F8FAFC
AA
2.71:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #AF1D66;
}
.text-color {
color: #AF1D66;
}
.border-color {
border: 2px solid #AF1D66;
}