#7E026D Hex Code
Magenta Color Codes
#7E026D
Click to copy
Color Information
Name:Magenta
Luminance:0.056
Web Safe:No
Background Preview
Sample Text
#7E026D as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#7E026D
Hexadecimal color code
RGB
rgb(126, 2, 109)
Red, Green, Blue values (0-255)
HSL
hsl(308, 97%, 25%)
Hue, Saturation, Lightness
HSV
hsv(308, 98%, 49%)
Hue, Saturation, Value
CMYK
cmyk(0%, 98%, 13%, 51%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(28.34, 55.38, -26.73)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAAA
Aa
Ratio: 9.92:1100/100
Black Backgroundfail
Aa
Ratio: 2.12:135/100
Gray Backgroundfail
Aa
Ratio: 2.51:142/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