Hex Color #B8527C - Custom Color

Color Codes

HEX
#B8527C
RGB
rgb(184, 82, 124)
HSL
hsl(335, 42%, 52%)
CMYK
cmyk(0%, 55%, 33%, 28%)
HSV
hsv(335, 55%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.54:1
Pass - WCAG AA (Normal Text)
Fail - 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: #B8527C;
color: #B8527C;
border-color: #B8527C;
}

Tailwind CSS (with arbitrary values)

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