Hex Color #AF5456 - Custom Color
Color Codes
HEX
#AF5456
RGB
rgb(175, 84, 86)
HSL
hsl(359, 36%, 51%)
CMYK
cmyk(0%, 52%, 51%, 31%)
HSV
hsv(359, 52%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.97:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.23: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: #AF5456;
color: #AF5456;
border-color: #AF5456;
}
Tailwind CSS (with arbitrary values)
bg-[#AF5456]
text-[#AF5456]
border-[#AF5456]
// Example usage:
<div className="bg-[#AF5456]">