Hex Color #A52051 - Custom Color
Color Codes
HEX
#A52051
RGB
rgb(165, 32, 81)
HSL
hsl(338, 68%, 39%)
CMYK
cmyk(0%, 81%, 51%, 35%)
HSV
hsv(338, 81%, 65%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.18:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.93: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: #A52051;
color: #A52051;
border-color: #A52051;
}
Tailwind CSS (with arbitrary values)
bg-[#A52051]
text-[#A52051]
border-[#A52051]
// Example usage:
<div className="bg-[#A52051]">