Hex Color #D92166 - Custom Color
Color Codes
HEX
#D92166
RGB
rgb(217, 33, 102)
HSL
hsl(338, 74%, 49%)
CMYK
cmyk(0%, 85%, 53%, 15%)
HSV
hsv(338, 85%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.82:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.36: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: #D92166;
color: #D92166;
border-color: #D92166;
}
Tailwind CSS (with arbitrary values)
bg-[#D92166]
text-[#D92166]
border-[#D92166]
// Example usage:
<div className="bg-[#D92166]">