Hex Color #BA4674 - Custom Color

Color Codes

HEX
#BA4674
RGB
rgb(186, 70, 116)
HSL
hsl(336, 46%, 50%)
CMYK
cmyk(0%, 62%, 38%, 27%)
HSV
hsv(336, 62%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.22:1
Fail - 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: #BA4674;
color: #BA4674;
border-color: #BA4674;
}

Tailwind CSS (with arbitrary values)

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