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