Hex Color #EB28E5 - Custom Color

Color Codes

HEX
#EB28E5
RGB
rgb(235, 40, 229)
HSL
hsl(302, 83%, 54%)
CMYK
cmyk(0%, 83%, 3%, 8%)
HSV
hsv(302, 83%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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