Hex Color #D318BB - Custom Color

Color Codes

HEX
#D318BB
RGB
rgb(211, 24, 187)
HSL
hsl(308, 80%, 46%)
CMYK
cmyk(0%, 89%, 11%, 17%)
HSV
hsv(308, 89%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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