Hex Color #D92A7A - Custom Color
Color Codes
HEX
#D92A7A
RGB
rgb(217, 42, 122)
HSL
hsl(333, 70%, 51%)
CMYK
cmyk(0%, 81%, 44%, 15%)
HSV
hsv(333, 81%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.60:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.56: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: #D92A7A;
color: #D92A7A;
border-color: #D92A7A;
}
Tailwind CSS (with arbitrary values)
bg-[#D92A7A]
text-[#D92A7A]
border-[#D92A7A]
// Example usage:
<div className="bg-[#D92A7A]">