#C21EC8 Hex Code

Magenta Color Codes

#C21EC8
Click to copy

Color Information

Name:Magenta
Luminance:0.166
Web Safe:No

Background Preview

Sample Text
#C21EC8 as text color

This shows how the color appears on different backgrounds

Color Formats

HEX

#C21EC8
Hexadecimal color code

RGB

rgb(194, 30, 200)
Red, Green, Blue values (0-255)

HSL

hsl(298, 74%, 45%)
Hue, Saturation, Lightness

HSV

hsv(298, 85%, 78%)
Hue, Saturation, Value

CMYK

cmyk(3%, 85%, 0%, 22%)
Cyan, Magenta, Yellow, Key (Black)

LAB

lab(47.71, 77.29, -50.48)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information

Contrast Ratios

White BackgroundAA
Aa
Ratio: 4.87:175/100
Black Backgroundfail
Aa
Ratio: 4.31:150/100
Gray Backgroundfail
Aa
Ratio: 1.23:121/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