Hex Color #D4309D - Custom Color

Color Codes

HEX
#D4309D
RGB
rgb(212, 48, 157)
HSL
hsl(320, 66%, 51%)
CMYK
cmyk(0%, 77%, 26%, 17%)
HSV
hsv(320, 77%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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