Hex Color #E728FB - Custom Color

Color Codes

HEX
#E728FB
RGB
rgb(231, 40, 251)
HSL
hsl(294, 96%, 57%)
CMYK
cmyk(8%, 84%, 0%, 2%)
HSV
hsv(294, 84%, 98%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.09: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: #E728FB;
color: #E728FB;
border-color: #E728FB;
}

Tailwind CSS (with arbitrary values)

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