Hex Color #AE227D - Custom Color

Color Codes

HEX
#AE227D
RGB
rgb(174, 34, 125)
HSL
hsl(321, 67%, 41%)
CMYK
cmyk(0%, 80%, 28%, 32%)
HSV
hsv(321, 80%, 68%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.32:1
Fail - 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: #AE227D;
color: #AE227D;
border-color: #AE227D;
}

Tailwind CSS (with arbitrary values)

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