Hex Color #B8418F - Custom Color

Color Codes

HEX
#B8418F
RGB
rgb(184, 65, 143)
HSL
hsl(321, 48%, 49%)
CMYK
cmyk(0%, 65%, 22%, 28%)
HSV
hsv(321, 65%, 72%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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