Hex Color #CF52BA - Custom Color

Color Codes

HEX
#CF52BA
RGB
rgb(207, 82, 186)
HSL
hsl(310, 57%, 57%)
CMYK
cmyk(0%, 60%, 10%, 19%)
HSV
hsv(310, 60%, 81%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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