Hex Color #D8598F - Custom Color
Color Codes
HEX
#D8598F
RGB
rgb(216, 89, 143)
HSL
hsl(334, 62%, 60%)
CMYK
cmyk(0%, 59%, 34%, 15%)
HSV
hsv(334, 59%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.66:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.75: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: #D8598F;
color: #D8598F;
border-color: #D8598F;
}
Tailwind CSS (with arbitrary values)
bg-[#D8598F]
text-[#D8598F]
border-[#D8598F]
// Example usage:
<div className="bg-[#D8598F]">