Hex Color #D8305D - Custom Color
Color Codes
HEX
#D8305D
RGB
rgb(216, 48, 93)
HSL
hsl(344, 68%, 52%)
CMYK
cmyk(0%, 78%, 57%, 15%)
HSV
hsv(344, 78%, 85%)
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
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: #D8305D;
color: #D8305D;
border-color: #D8305D;
}
Tailwind CSS (with arbitrary values)
bg-[#D8305D]
text-[#D8305D]
border-[#D8305D]
// Example usage:
<div className="bg-[#D8305D]">