Hex Color #CD3261 - Custom Color
Color Codes
HEX
#CD3261
RGB
rgb(205, 50, 97)
HSL
hsl(342, 61%, 50%)
CMYK
cmyk(0%, 76%, 53%, 20%)
HSV
hsv(342, 76%, 80%)
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.22: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: #CD3261;
color: #CD3261;
border-color: #CD3261;
}
Tailwind CSS (with arbitrary values)
bg-[#CD3261]
text-[#CD3261]
border-[#CD3261]
// Example usage:
<div className="bg-[#CD3261]">