Hex Color #D2109A - Custom Color

Color Codes

HEX
#D2109A
RGB
rgb(210, 16, 154)
HSL
hsl(317, 86%, 44%)
CMYK
cmyk(0%, 92%, 27%, 18%)
HSV
hsv(317, 92%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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