Hex Color #A11B7E - Custom Color

Color Codes

HEX
#A11B7E
RGB
rgb(161, 27, 126)
HSL
hsl(316, 71%, 37%)
CMYK
cmyk(0%, 83%, 22%, 37%)
HSV
hsv(316, 83%, 63%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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