Hex Color #C0AFCD - Custom Color
Color Codes
HEX
#C0AFCD
RGB
rgb(192, 175, 205)
HSL
hsl(274, 23%, 75%)
CMYK
cmyk(6%, 15%, 0%, 20%)
HSV
hsv(274, 15%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.05:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.25: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: #C0AFCD;
color: #C0AFCD;
border-color: #C0AFCD;
}
Tailwind CSS (with arbitrary values)
bg-[#C0AFCD]
text-[#C0AFCD]
border-[#C0AFCD]
// Example usage:
<div className="bg-[#C0AFCD]">