Hex Color #A61B8D - Custom Color
Color Codes
HEX
#A61B8D
RGB
rgb(166, 27, 141)
HSL
hsl(311, 72%, 38%)
CMYK
cmyk(0%, 84%, 15%, 35%)
HSV
hsv(311, 84%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.64:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.16: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: #A61B8D;
color: #A61B8D;
border-color: #A61B8D;
}
Tailwind CSS (with arbitrary values)
bg-[#A61B8D]
text-[#A61B8D]
border-[#A61B8D]
// Example usage:
<div className="bg-[#A61B8D]">