Hex Color #DA1B4C - Custom Color
Color Codes
HEX
#DA1B4C
RGB
rgb(218, 27, 76)
HSL
hsl(345, 78%, 48%)
CMYK
cmyk(0%, 88%, 65%, 15%)
HSV
hsv(345, 88%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.95:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.24: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: #DA1B4C;
color: #DA1B4C;
border-color: #DA1B4C;
}
Tailwind CSS (with arbitrary values)
bg-[#DA1B4C]
text-[#DA1B4C]
border-[#DA1B4C]
// Example usage:
<div className="bg-[#DA1B4C]">