Hex Color #A8068F - Custom Color
Color Codes
HEX
#A8068F
RGB
rgb(168, 6, 143)
HSL
hsl(309, 93%, 34%)
CMYK
cmyk(0%, 96%, 15%, 34%)
HSV
hsv(309, 96%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.80:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.09: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: #A8068F;
color: #A8068F;
border-color: #A8068F;
}
Tailwind CSS (with arbitrary values)
bg-[#A8068F]
text-[#A8068F]
border-[#A8068F]
// Example usage:
<div className="bg-[#A8068F]">