Hex Color #D512AA - Custom Color

Color Codes

HEX
#D512AA
RGB
rgb(213, 18, 170)
HSL
hsl(313, 84%, 45%)
CMYK
cmyk(0%, 92%, 20%, 16%)
HSV
hsv(313, 92%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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