Hex Color #D368CA - Custom Color
Color Codes
HEX
#D368CA
RGB
rgb(211, 104, 202)
HSL
hsl(305, 55%, 62%)
CMYK
cmyk(0%, 51%, 4%, 17%)
HSV
hsv(305, 51%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.60: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: #D368CA;
color: #D368CA;
border-color: #D368CA;
}
Tailwind CSS (with arbitrary values)
bg-[#D368CA]
text-[#D368CA]
border-[#D368CA]
// Example usage:
<div className="bg-[#D368CA]">