Hex Color #A8627C - Custom Color
Color Codes
HEX
#A8627C
RGB
rgb(168, 98, 124)
HSL
hsl(338, 29%, 52%)
CMYK
cmyk(0%, 42%, 26%, 34%)
HSV
hsv(338, 42%, 66%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.47:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.70:1
Pass - 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: #A8627C;
color: #A8627C;
border-color: #A8627C;
}
Tailwind CSS (with arbitrary values)
bg-[#A8627C]
text-[#A8627C]
border-[#A8627C]
// Example usage:
<div className="bg-[#A8627C]">