Hex Color #DD0B7A - Custom Color
Color Codes
HEX
#DD0B7A
RGB
rgb(221, 11, 122)
HSL
hsl(328, 91%, 45%)
CMYK
cmyk(0%, 95%, 45%, 13%)
HSV
hsv(328, 95%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.77:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.40: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: #DD0B7A;
color: #DD0B7A;
border-color: #DD0B7A;
}
Tailwind CSS (with arbitrary values)
bg-[#DD0B7A]
text-[#DD0B7A]
border-[#DD0B7A]
// Example usage:
<div className="bg-[#DD0B7A]">