Hex Color #E221B5 - Custom Color

Color Codes

HEX
#E221B5
RGB
rgb(226, 33, 181)
HSL
hsl(314, 77%, 51%)
CMYK
cmyk(0%, 85%, 20%, 11%)
HSV
hsv(314, 85%, 89%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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