Hex Color #CBAFD2 - Custom Color

Color Codes

HEX
#CBAFD2
RGB
rgb(203, 175, 210)
HSL
hsl(288, 28%, 75%)
CMYK
cmyk(3%, 17%, 0%, 18%)
HSV
hsv(288, 17%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.98:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 10.60: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: #CBAFD2;
color: #CBAFD2;
border-color: #CBAFD2;
}

Tailwind CSS (with arbitrary values)

bg-[#CBAFD2]
text-[#CBAFD2]
border-[#CBAFD2]
// Example usage:
<div className="bg-[#CBAFD2]">