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