Hex Color #D83097 - Custom Color
Color Codes
HEX
#D83097
RGB
rgb(216, 48, 151)
HSL
hsl(323, 68%, 52%)
CMYK
cmyk(0%, 78%, 30%, 15%)
HSV
hsv(323, 78%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.38:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.79: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: #D83097;
color: #D83097;
border-color: #D83097;
}
Tailwind CSS (with arbitrary values)
bg-[#D83097]
text-[#D83097]
border-[#D83097]
// Example usage:
<div className="bg-[#D83097]">