Hex Color #DD08A0 - Custom Color
Color Codes
HEX
#DD08A0
RGB
rgb(221, 8, 160)
HSL
hsl(317, 93%, 45%)
CMYK
cmyk(0%, 96%, 28%, 13%)
HSV
hsv(317, 96%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.55: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: #DD08A0;
color: #DD08A0;
border-color: #DD08A0;
}
Tailwind CSS (with arbitrary values)
bg-[#DD08A0]
text-[#DD08A0]
border-[#DD08A0]
// Example usage:
<div className="bg-[#DD08A0]">