Hex Color #DF87BE - Custom Color
Color Codes
HEX
#DF87BE
RGB
rgb(223, 135, 190)
HSL
hsl(323, 58%, 70%)
CMYK
cmyk(0%, 39%, 15%, 13%)
HSV
hsv(323, 39%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.52:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.35:1
Pass - WCAG AA (Normal Text)
Pass - 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: #DF87BE;
color: #DF87BE;
border-color: #DF87BE;
}
Tailwind CSS (with arbitrary values)
bg-[#DF87BE]
text-[#DF87BE]
border-[#DF87BE]
// Example usage:
<div className="bg-[#DF87BE]">