Hex Color #D3B1CC - Custom Color
Color Codes
HEX
#D3B1CC
RGB
rgb(211, 177, 204)
HSL
hsl(312, 28%, 76%)
CMYK
cmyk(0%, 16%, 3%, 17%)
HSV
hsv(312, 16%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.92:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.93: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: #D3B1CC;
color: #D3B1CC;
border-color: #D3B1CC;
}
Tailwind CSS (with arbitrary values)
bg-[#D3B1CC]
text-[#D3B1CC]
border-[#D3B1CC]
// Example usage:
<div className="bg-[#D3B1CC]">