Hex Color #A2838C - Custom Color
Color Codes
HEX
#A2838C
RGB
rgb(162, 131, 140)
HSL
hsl(343, 14%, 57%)
CMYK
cmyk(0%, 19%, 14%, 36%)
HSV
hsv(343, 19%, 64%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.41:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.16: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: #A2838C;
color: #A2838C;
border-color: #A2838C;
}
Tailwind CSS (with arbitrary values)
bg-[#A2838C]
text-[#A2838C]
border-[#A2838C]
// Example usage:
<div className="bg-[#A2838C]">