Hex Color #D0AFB2 - Custom Color
Color Codes
HEX
#D0AFB2
RGB
rgb(208, 175, 178)
HSL
hsl(355, 26%, 75%)
CMYK
cmyk(0%, 16%, 14%, 18%)
HSV
hsv(355, 16%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.01:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.46: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: #D0AFB2;
color: #D0AFB2;
border-color: #D0AFB2;
}
Tailwind CSS (with arbitrary values)
bg-[#D0AFB2]
text-[#D0AFB2]
border-[#D0AFB2]
// Example usage:
<div className="bg-[#D0AFB2]">