Hex Color #E402FC - Custom Color

Color Codes

HEX
#E402FC
RGB
rgb(228, 2, 252)
HSL
hsl(294, 98%, 50%)
CMYK
cmyk(10%, 99%, 0%, 1%)
HSV
hsv(294, 99%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 3.68:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 5.71:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #E402FC;
color: #E402FC;
border-color: #E402FC;
}

Tailwind CSS (with arbitrary values)

bg-[#E402FC]
text-[#E402FC]
border-[#E402FC]
// Example usage:
<div className="bg-[#E402FC]">