Hex Color #DA1B9C - Custom Color
Color Codes
HEX
#DA1B9C
RGB
rgb(218, 27, 156)
HSL
hsl(319, 78%, 48%)
CMYK
cmyk(0%, 88%, 28%, 15%)
HSV
hsv(319, 88%, 85%)
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: #DA1B9C;
color: #DA1B9C;
border-color: #DA1B9C;
}
Tailwind CSS (with arbitrary values)
bg-[#DA1B9C]
text-[#DA1B9C]
border-[#DA1B9C]
// Example usage:
<div className="bg-[#DA1B9C]">