Hex Color #D45FC9 - Custom Color

Color Codes

HEX
#D45FC9
RGB
rgb(212, 95, 201)
HSL
hsl(306, 58%, 60%)
CMYK
cmyk(0%, 55%, 5%, 17%)
HSV
hsv(306, 55%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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