Hex Color #AF425F - Custom Color
Color Codes
HEX
#AF425F
RGB
rgb(175, 66, 95)
HSL
hsl(344, 45%, 47%)
CMYK
cmyk(0%, 62%, 46%, 31%)
HSV
hsv(344, 62%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.57:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.77: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: #AF425F;
color: #AF425F;
border-color: #AF425F;
}
Tailwind CSS (with arbitrary values)
bg-[#AF425F]
text-[#AF425F]
border-[#AF425F]
// Example usage:
<div className="bg-[#AF425F]">