Hex Color #DD1C8F - Custom Color
Color Codes
HEX
#DD1C8F
RGB
rgb(221, 28, 143)
HSL
hsl(324, 78%, 49%)
CMYK
cmyk(0%, 87%, 35%, 13%)
HSV
hsv(324, 87%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.53:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.64: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: #DD1C8F;
color: #DD1C8F;
border-color: #DD1C8F;
}
Tailwind CSS (with arbitrary values)
bg-[#DD1C8F]
text-[#DD1C8F]
border-[#DD1C8F]
// Example usage:
<div className="bg-[#DD1C8F]">