#B102A2 Hex Code

Magenta Color Codes

#B102A2
Click to copy

Color Information

Name:Magenta
Luminance:0.120
Web Safe:No

Background Preview

Sample Text
#B102A2 as text color

This shows how the color appears on different backgrounds

Color Formats

HEX

#B102A2
Hexadecimal color code

RGB

rgb(177, 2, 162)
Red, Green, Blue values (0-255)

HSL

hsl(305, 98%, 35%)
Hue, Saturation, Lightness

HSV

hsv(305, 99%, 69%)
Hue, Saturation, Value

CMYK

cmyk(0%, 99%, 8%, 31%)
Cyan, Magenta, Yellow, Key (Black)

LAB

lab(41.21, 72.35, -38.62)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information

Contrast Ratios

White BackgroundAA
Aa
Ratio: 6.18:175/100
Black Backgroundfail
Aa
Ratio: 3.40:150/100
Gray Backgroundfail
Aa
Ratio: 1.56:126/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