#8A0252
A dark, vivid magenta closely aligning with Mediumvioletred.
About #8A0252
The precise color #8A0252 is an excellent choice for modern design projects. It is closely associated with the named CSS color Mediumvioletred. This translates to an RGB value of rgb(138, 2, 82).
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 99% M, 41% Y, and 46% K. Always request a physical proof before doing a large print run with this exact code.
Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#8A0252
RGB138, 2, 82
HSL324.7°, 97.1%, 27.5%
CMYK0%, 99%, 41%, 46%
HSV324.7°, 98.6%, 54.1%
LAB29.6, 54.7, -7.0
XYZ12.0, 6.1, 8.5
Decimal9044562
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
9.50:1
Text on #FFFFFF
AAA
2.21:1
Text on #000000
FAIL
9.08:1
Text on #F8FAFC
AAA
1.88:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #8A0252;
}
.text-color {
color: #8A0252;
}
.border-color {
border: 2px solid #8A0252;
}