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