Hex Color #D213AD - Custom Color

Color Codes

HEX
#D213AD
RGB
rgb(210, 19, 173)
HSL
hsl(312, 83%, 45%)
CMYK
cmyk(0%, 91%, 18%, 18%)
HSV
hsv(312, 91%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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