Hex Color #AC3158 - Custom Color

Color Codes

HEX
#AC3158
RGB
rgb(172, 49, 88)
HSL
hsl(341, 56%, 43%)
CMYK
cmyk(0%, 72%, 49%, 33%)
HSV
hsv(341, 72%, 67%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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