#D42BAF Hex Code
Magenta Color Codes
#D42BAF
Click to copy
Color Information
Name:Magenta
Luminance:0.188
Web Safe:No
Background Preview
Sample Text
#D42BAF as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#D42BAF
Hexadecimal color code
RGB
rgb(212, 43, 175)
Red, Green, Blue values (0-255)
HSL
hsl(313, 66%, 50%)
Hue, Saturation, Lightness
HSV
hsv(313, 80%, 83%)
Hue, Saturation, Value
CMYK
cmyk(0%, 80%, 17%, 17%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(50.48, 74.4, -31.33)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White Backgroundfail
Aa
Ratio: 4.41:150/100
Black BackgroundAA
Aa
Ratio: 4.76:175/100
Gray Backgroundfail
Aa
Ratio: 1.12: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