Hex Color #CD5A2A - Custom Color
Color Codes
HEX
#CD5A2A
RGB
rgb(205, 90, 42)
HSL
hsl(18, 66%, 48%)
CMYK
cmyk(0%, 56%, 80%, 20%)
HSV
hsv(18, 80%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.12:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.09: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: #CD5A2A;
color: #CD5A2A;
border-color: #CD5A2A;
}
Tailwind CSS (with arbitrary values)
bg-[#CD5A2A]
text-[#CD5A2A]
border-[#CD5A2A]
// Example usage:
<div className="bg-[#CD5A2A]">