Hex Color #AC217D - Custom Color

Color Codes

HEX
#AC217D
RGB
rgb(172, 33, 125)
HSL
hsl(320, 68%, 40%)
CMYK
cmyk(0%, 81%, 27%, 33%)
HSV
hsv(320, 81%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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