Hex Color #DF38CB - Custom Color
Color Codes
HEX
#DF38CB
RGB
rgb(223, 56, 203)
HSL
hsl(307, 72%, 55%)
CMYK
cmyk(0%, 75%, 9%, 13%)
HSV
hsv(307, 75%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.77:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.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: #DF38CB;
color: #DF38CB;
border-color: #DF38CB;
}
Tailwind CSS (with arbitrary values)
bg-[#DF38CB]
text-[#DF38CB]
border-[#DF38CB]
// Example usage:
<div className="bg-[#DF38CB]">