Hex Color #D907AB - Custom Color
Color Codes
HEX
#D907AB
RGB
rgb(217, 7, 171)
HSL
hsl(313, 94%, 44%)
CMYK
cmyk(0%, 97%, 21%, 15%)
HSV
hsv(313, 97%, 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.57: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: #D907AB;
color: #D907AB;
border-color: #D907AB;
}
Tailwind CSS (with arbitrary values)
bg-[#D907AB]
text-[#D907AB]
border-[#D907AB]
// Example usage:
<div className="bg-[#D907AB]">