Hex Color #B28CAD - Custom Color

Color Codes

HEX
#B28CAD
RGB
rgb(178, 140, 173)
HSL
hsl(308, 20%, 62%)
CMYK
cmyk(0%, 21%, 3%, 30%)
HSV
hsv(308, 21%, 70%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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