Hex Color #AC3167 - Custom Color

Color Codes

HEX
#AC3167
RGB
rgb(172, 49, 103)
HSL
hsl(334, 56%, 43%)
CMYK
cmyk(0%, 72%, 40%, 33%)
HSV
hsv(334, 72%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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