Hex Color #CD3C8C - Custom Color
Color Codes
HEX
#CD3C8C
RGB
rgb(205, 60, 140)
HSL
hsl(327, 59%, 52%)
CMYK
cmyk(0%, 71%, 32%, 20%)
HSV
hsv(327, 71%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.54:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.62: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: #CD3C8C;
color: #CD3C8C;
border-color: #CD3C8C;
}
Tailwind CSS (with arbitrary values)
bg-[#CD3C8C]
text-[#CD3C8C]
border-[#CD3C8C]
// Example usage:
<div className="bg-[#CD3C8C]">