#AF12AD Hex Code

Magenta Color Codes

#AF12AD
Click to copy

Color Information

Name:Magenta
Luminance:0.126
Web Safe:No

Background Preview

Sample Text
#AF12AD as text color

This shows how the color appears on different backgrounds

Color Formats

HEX

#AF12AD
Hexadecimal color code

RGB

rgb(175, 18, 173)
Red, Green, Blue values (0-255)

HSL

hsl(301, 81%, 38%)
Hue, Saturation, Lightness

HSV

hsv(301, 90%, 69%)
Hue, Saturation, Value

CMYK

cmyk(0%, 90%, 1%, 31%)
Cyan, Magenta, Yellow, Key (Black)

LAB

lab(42.1, 71.8, -43.81)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information

Contrast Ratios

White BackgroundAA
Aa
Ratio: 5.98:175/100
Black Backgroundfail
Aa
Ratio: 3.51:150/100
Gray Backgroundfail
Aa
Ratio: 1.51:125/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

Complementary

2 colors

Colors opposite on the color wheel

Triadic

3 colors

Three colors evenly spaced on the color wheel

Analogous

5 colors

Colors adjacent on the color wheel

Monochromatic

5 colors

Different shades of the same hue

Split Complementary

3 colors

Base color plus two colors adjacent to its complement