Hex Color #D08CBF - Custom Color
Color Codes
HEX
#D08CBF
RGB
rgb(208, 140, 191)
HSL
hsl(315, 42%, 68%)
CMYK
cmyk(0%, 33%, 8%, 18%)
HSV
hsv(315, 33%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.57:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.19: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: #D08CBF;
color: #D08CBF;
border-color: #D08CBF;
}
Tailwind CSS (with arbitrary values)
bg-[#D08CBF]
text-[#D08CBF]
border-[#D08CBF]
// Example usage:
<div className="bg-[#D08CBF]">