Hex Color #B2458C - Custom Color

Color Codes

HEX
#B2458C
RGB
rgb(178, 69, 140)
HSL
hsl(321, 44%, 48%)
CMYK
cmyk(0%, 61%, 21%, 30%)
HSV
hsv(321, 61%, 70%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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