Hex Color #D3127A - Custom Color

Color Codes

HEX
#D3127A
RGB
rgb(211, 18, 122)
HSL
hsl(328, 84%, 45%)
CMYK
cmyk(0%, 91%, 42%, 17%)
HSV
hsv(328, 91%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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