#AF50AD Hex Code
Magenta Color Codes
#AF50AD
Click to copy
Color Information
Name:Magenta
Luminance:0.179
Web Safe:No
Background Preview
Sample Text
#AF50AD as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#AF50AD
Hexadecimal color code
RGB
rgb(175, 80, 173)
Red, Green, Blue values (0-255)
HSL
hsl(301, 37%, 50%)
Hue, Saturation, Lightness
HSV
hsv(301, 54%, 69%)
Hue, Saturation, Value
CMYK
cmyk(0%, 54%, 1%, 31%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(49.34, 51.43, -32.36)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAA
Aa
Ratio: 4.59:175/100
Black BackgroundAA
Aa
Ratio: 4.57:175/100
Gray Backgroundfail
Aa
Ratio: 1.16:119/100
WCAG Guidelines
AAAContrast ratio of 7:1 or higher (Enhanced)
AAContrast ratio of 4.5:1 or higher (Standard)
FAILContrast ratio below 4.5:1 (Not recommended)
Color Harmonies