Hex Color #D168BA - Custom Color
Color Codes
HEX
#D168BA
RGB
rgb(209, 104, 186)
HSL
hsl(313, 53%, 61%)
CMYK
cmyk(0%, 50%, 11%, 18%)
HSV
hsv(313, 50%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.40: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: #D168BA;
color: #D168BA;
border-color: #D168BA;
}
Tailwind CSS (with arbitrary values)
bg-[#D168BA]
text-[#D168BA]
border-[#D168BA]
// Example usage:
<div className="bg-[#D168BA]">